aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-11-07 11:13:05 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-11-07 12:22:13 +0100
commitb94462296937f59e3750e1c35b80b69a67a535af (patch)
treecf95f1ed88deef10cf5fd4fe370b6b9c752db0f5 /tap.c
parent53ff387156380bee9acb5fe2ca62af97b9ccce36 (diff)
downloadpasst-b94462296937f59e3750e1c35b80b69a67a535af.tar
passt-b94462296937f59e3750e1c35b80b69a67a535af.tar.gz
passt-b94462296937f59e3750e1c35b80b69a67a535af.tar.bz2
passt-b94462296937f59e3750e1c35b80b69a67a535af.tar.lz
passt-b94462296937f59e3750e1c35b80b69a67a535af.tar.xz
passt-b94462296937f59e3750e1c35b80b69a67a535af.tar.zst
passt-b94462296937f59e3750e1c35b80b69a67a535af.zip
netlink: Sequence numbers are actually 32 bits wide
Harmless, as we use sequence numbers monotonically anyway, but now clang-tidy reports: /home/sbrivio/passt/netlink.c:155:7: error: format specifies type 'unsigned short' but the argument has type '__u32' (aka 'unsigned int') [clang-diagnostic-format,-warnings-as-errors] nh->nlmsg_seq, seq); ^ /home/sbrivio/passt/log.h:26:7: note: expanded from macro 'die' err(__VA_ARGS__); \ ^~~~~~~~~~~ /home/sbrivio/passt/log.h:19:34: note: expanded from macro 'err' ^~~~~~~~~~~ Suppressed 222820 warnings (222816 in non-user code, 4 NOLINT). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 1 warning treated as error make: *** [Makefile:255: clang-tidy] Error 1 Fixes: 9d4ab98d538f ("netlink: Add nl_do() helper for simple operations with error checking") Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions