diff options
| author | Bill Wendling <[email protected]> | 2022-03-16 21:31:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-17 23:34:49 +0000 |
| commit | 8624a95ecdea5ce6829bb42b0b9dcd8705961e04 (patch) | |
| tree | 93566f9d46c8a2dd9bf60515165121c5d627c031 /net/unix/af_unix.c | |
| parent | net/fsl: xgmac_mdio: use correct format characters (diff) | |
| download | kernel-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
