diff options
author | Bart Van Assche <[email protected]> | 2021-04-15 15:08:13 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-04-15 22:44:40 -0400 |
commit | 90d6697810f06aceea9de71ad836a8c7669789cd (patch) | |
tree | ea01e52df8cf02f1d77617b569599a0d20b41563 /scripts/gdb/linux/timerlist.py | |
parent | 56853f0e615bd347daa29b1d7ab165f2bc5ac5f4 (diff) |
scsi: libfc: Fix a format specifier
Since the 'mfs' member has been declared as 'u32' in include/scsi/libfc.h,
use the %u format specifier instead of %hu. This patch fixes the following
clang compiler warning:
warning: format specifies type
'unsigned short' but the argument has type 'u32' (aka 'unsigned int')
[-Wformat]
"lport->mfs:%hu\n", mfs, lport->mfs);
~~~ ^~~~~~~~~~
%u
Link: https://lore.kernel.org/r/[email protected]
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions