<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/can/raw.c, branch linux-5.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-07-24T22:41:54Z</updated>
<entry>
<title>net: pass a sockptr_t into -&gt;setsockopt</title>
<updated>2020-07-24T22:41:54Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-07-23T06:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7b75c5a8c41445f33efb663887ff5f5c3b4454b'/>
<id>urn:sha1:a7b75c5a8c41445f33efb663887ff5f5c3b4454b</id>
<content type='text'>
Rework the remaining setsockopt code to pass a sockptr_t instead of a
plain user pointer.  This removes the last remaining set_fs(KERNEL_DS)
outside of architecture specific code.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Stefan Schmidt &lt;stefan@datenfreihafen.org&gt; [ieee802154]
Acked-by: Matthieu Baerts &lt;matthieu.baerts@tessares.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: introduce CAN_REQUIRED_SIZE macro</title>
<updated>2019-09-04T11:29:15Z</updated>
<author>
<name>Kurt Van Dijck</name>
</author>
<published>2018-10-08T09:48:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9868b5d44f3df9dd75247acd23dddff0a42f79be'/>
<id>urn:sha1:9868b5d44f3df9dd75247acd23dddff0a42f79be</id>
<content type='text'>
The size of this structure will be increased with J1939 support. To stay
binary compatible, the CAN_REQUIRED_SIZE macro is introduced for
existing CAN protocols.

Signed-off-by: Kurt Van Dijck &lt;dev.kurt@vandijck-laurijssen.be&gt;
Signed-off-by: Oleksij Rempel &lt;o.rempel@pengutronix.de&gt;
Acked-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: raw: raw_sock_no_ioctlcmd(): mark function as static</title>
<updated>2019-08-13T15:32:20Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2019-08-12T13:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af0b1470bda9751c4d757a0efd50edda8da49c99'/>
<id>urn:sha1:af0b1470bda9751c4d757a0efd50edda8da49c99</id>
<content type='text'>
This patch marks the raw_sock_no_ioctlcmd() function as static as it's
only used in this source file.

Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: raw: raw_module_init(): use pr_err() instead of printk(KERN_ERR, ...)</title>
<updated>2019-08-13T15:32:20Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2019-08-13T07:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d956b1a87f9bc84aed7bd4f5f5ae52f9ead0381d'/>
<id>urn:sha1:d956b1a87f9bc84aed7bd4f5f5ae52f9ead0381d</id>
<content type='text'>
This patch converts a printk(KERN_ERR, ...) to a pr_err().

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: raw: balance braces around else statements</title>
<updated>2019-08-13T15:32:20Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2019-08-13T07:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bff10040672d41bd027c267d78e967c374d4e04b'/>
<id>urn:sha1:bff10040672d41bd027c267d78e967c374d4e04b</id>
<content type='text'>
This patch balances the braces around else statements, so that
checkpatch doesn't complain anymore.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: raw: remove unnecessary blank lines, add suggested blank lines</title>
<updated>2019-08-13T15:32:20Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2019-07-24T12:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5e4ecac87fc620b642c331d374a5fc4569493ed'/>
<id>urn:sha1:d5e4ecac87fc620b642c331d374a5fc4569493ed</id>
<content type='text'>
This patch removes unnecessary blank lines, and adds suggested ones, so
that checkpatch doesn't complain anymore.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: raw: convert block comments to network style comments</title>
<updated>2019-08-13T15:32:20Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2019-07-24T12:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6ada83bba9905c436b1ffcbd5fd995f5e38f291'/>
<id>urn:sha1:d6ada83bba9905c436b1ffcbd5fd995f5e38f291</id>
<content type='text'>
This patch converts all block comments to network subsystem style block
comments.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: fix ioctl function removal</title>
<updated>2019-07-29T21:12:35Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2019-07-29T20:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=473d924d7d46cb57aa4c1863261d18366af345af'/>
<id>urn:sha1:473d924d7d46cb57aa4c1863261d18366af345af</id>
<content type='text'>
Commit 60649d4e0af ("can: remove obsolete empty ioctl() handler") replaced the
almost empty can_ioctl() function with sock_no_ioctl() which always returns
-EOPNOTSUPP.

Even though we don't have any ioctl() functions on socket/network layer we need
to return -ENOIOCTLCMD to be able to forward ioctl commands like SIOCGIFINDEX
to the network driver layer.

This patch fixes the wrong return codes in the CAN network layer protocols.

Reported-by: kernel test robot &lt;rong.a.chen@intel.com&gt;
Fixes: 60649d4e0af ("can: remove obsolete empty ioctl() handler")
Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: Add SPDX license identifiers for CAN subsystem</title>
<updated>2019-07-24T08:31:55Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2019-07-23T13:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fba76a58452694b9b13c07e48839fa84c75f57af'/>
<id>urn:sha1:fba76a58452694b9b13c07e48839fa84c75f57af</id>
<content type='text'>
Add missing SPDX identifiers for the CAN network layer and correct the SPDX
license for two of its include files to make sure the BSD-3-Clause applies
for the entire subsystem.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: remove obsolete empty ioctl() handler</title>
<updated>2019-07-24T08:31:55Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2019-07-23T12:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60649d4e0af6c26b6c423dea9c57f39e823fc0c5'/>
<id>urn:sha1:60649d4e0af6c26b6c423dea9c57f39e823fc0c5</id>
<content type='text'>
With commit c7cbdbf29f488a ("net: rework SIOCGSTAMP ioctl handling") the only
ioctl function in can_ioctl() has been removed.

As this SIOCGSTAMP ioctl command is now handled in net/socket.c we can entirely
remove the CAN specific ioctl functions.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
