summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2026-06-23 10:21:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-17 16:22:40 +0200
commitf5af7132db239c5d13f20b7ac01db62b62830fb1 (patch)
tree54d5b6bd0ba60f0f9203b158f7b63fb2b7ffc1bf /include/linux/timerqueue.h
parent919d1ba86be65fc08a83c5def5cc08a61a5ace62 (diff)
virtio_console: fix endian conversion in handle_control_message()
There are a couple of prints in handle_control_message() which should have converted cpkt->id through virtio32_to_cpu() before passing to a print. This fixes the following (prototype) sparse warnings: drivers/char/virtio_console.c:1538:17: warning: incorrect type in argument 4 (different base types) drivers/char/virtio_console.c:1538:17: expected unsigned int drivers/char/virtio_console.c:1538:17: got restricted __virtio32 [usertype] id drivers/char/virtio_console.c:1553:25: warning: incorrect type in argument 3 (different base types) drivers/char/virtio_console.c:1553:25: expected unsigned int drivers/char/virtio_console.c:1553:25: got restricted __virtio32 [usertype] id Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Amit Shah <amit@kernel.org> Link: https://patch.msgid.link/20260623092141.631355-1-ben.dooks@codethink.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions