<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/uapi/linux/virtio_can.h, branch master</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-06-10T06:17:00+00:00</updated>
<entry>
<title>can: virtio: Fix comment in UAPI header</title>
<updated>2026-06-10T06:17:00+00:00</updated>
<author>
<name>Nathan Chancellor</name>
<email>nathan@kernel.org</email>
</author>
<published>2026-06-04T22:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8cb2c9285e4ce9154f45fb15633ebd45dfd8d9cf'/>
<id>urn:sha1:8cb2c9285e4ce9154f45fb15633ebd45dfd8d9cf</id>
<content type='text'>
When compile testing the UAPI headers with clang, there is an warning turned
error for using a C++ style ('//') comment, which is explicitly forbidden for
UAPI headers.

  In file included from &lt;built-in&gt;:1:
  ./usr/include/linux/virtio_can.h:29:35: error: // comments are not allowed in this language [-Werror,-Wcomment]
     29 | #define VIRTIO_CAN_MAX_DLEN    64 // this is like CANFD_MAX_DLEN
        |                                   ^
  1 error generated.

Switch to a standard C style comment.

Fixes: 2b6b4bb7d96f ("can: virtio: Add virtio CAN driver")
Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-ID: &lt;20260604-virtio_can-fix-uapi-comment-v1-1-199fa96ec5f0@kernel.org&gt;
</content>
</entry>
<entry>
<title>can: virtio: Add virtio CAN driver</title>
<updated>2026-06-10T06:17:00+00:00</updated>
<author>
<name>Matias Ezequiel Vara Larsen</name>
<email>mvaralar@redhat.com</email>
</author>
<published>2026-05-26T16:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=083082a4e6d8311c91ac7e1d59426514c5e1c04b'/>
<id>urn:sha1:083082a4e6d8311c91ac7e1d59426514c5e1c04b</id>
<content type='text'>
Add virtio CAN driver based on Virtio 1.4 specification (see
https://github.com/oasis-tcs/virtio-spec/tree/virtio-1.4). The driver
implements a complete CAN bus interface over Virtio transport,
supporting both CAN Classic and CAN-FD Ids. In term of frames, it
supports classic and CAN FD. RTR frames are only supported with classic
CAN.

Usage:
- "ip link set up can0" - start controller
- "ip link set down can0" - stop controller
- "candump can0" - receive frames
- "cansend can0 123#DEADBEEF" - send frames

Signed-off-by: Harald Mommer &lt;harald.mommer@oss.qualcomm.com&gt;
Co-developed-by: Harald Mommer &lt;harald.mommer@oss.qualcomm.com&gt;
Signed-off-by: Mikhail Golubev-Ciuchea &lt;mikhail.golubev-ciuchea@oss.qualcomm.com&gt;
Co-developed-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Cc: Damir Shaikhutdinov &lt;Damir.Shaikhutdinov@opensynergy.com&gt;
Reviewed-by: Francesco Valla &lt;francesco@valla.it&gt;
Tested-by: Francesco Valla &lt;francesco@valla.it&gt;
Signed-off-by: Matias Ezequiel Vara Larsen &lt;mvaralar@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-ID: &lt;ahXNb+KzuHYbS24+@fedora&gt;
</content>
</entry>
</feed>
