aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBill Wendling <[email protected]>2022-03-16 21:31:25 +0000
committerJakub Kicinski <[email protected]>2022-03-17 23:34:49 +0000
commit8624a95ecdea5ce6829bb42b0b9dcd8705961e04 (patch)
tree93566f9d46c8a2dd9bf60515165121c5d627c031 /net/unix/af_unix.c
parentnet/fsl: xgmac_mdio: use correct format characters (diff)
downloadkernel-8624a95ecdea5ce6829bb42b0b9dcd8705961e04.tar.gz
kernel-8624a95ecdea5ce6829bb42b0b9dcd8705961e04.zip
vlan: use correct format characters
When compiling with -Wformat, clang emits the following warning: net/8021q/vlanproc.c:284:22: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] mp->priority, ((mp->vlan_qos >> 13) & 0x7)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ The types of these arguments are unconditionally defined, so this patch updates the format character to the correct ones for ints and unsigned ints. Link: https://github.com/ClangBuiltLinux/linux/issues/378 Signed-off-by: Bill Wendling <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions