Files
linux-stable-mirror/include/uapi/linux
Nathan Chancellor 8cb2c9285e can: virtio: Fix comment in UAPI header
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 <built-in>: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 <nathan@kernel.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260604-virtio_can-fix-uapi-comment-v1-1-199fa96ec5f0@kernel.org>
2026-06-10 02:17:00 -04:00
..
2026-03-30 16:55:36 +02:00
2026-03-05 22:16:08 -05:00
2026-03-19 11:38:24 -06:00
2026-03-18 09:59:57 +00:00
2026-03-05 16:26:52 +01:00
2026-01-18 11:22:53 -05:00
2025-10-28 22:59:19 +01:00
2025-11-25 19:20:42 -08:00
2025-11-24 17:52:11 +01:00
2025-11-24 17:52:11 +01:00
2025-11-29 21:39:58 +09:00
2025-12-23 12:29:14 +05:30
2025-09-15 14:32:54 +02:00
2026-01-12 16:52:09 +01:00
2026-03-12 13:33:54 +01:00
2026-02-06 20:35:06 -08:00
2026-04-09 18:21:45 -07:00
2026-02-27 19:21:56 -08:00
2025-11-03 17:41:18 +01:00
2025-11-25 19:20:42 -08:00
2026-03-31 07:04:00 -06:00
2026-01-26 19:07:10 -08:00
2026-02-09 12:21:32 -05:00
2025-09-22 09:29:28 +01:00
2025-11-30 18:02:43 -05:00
2025-09-22 09:29:29 +01:00