aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNick Desaulniers <[email protected]>2020-11-07 00:11:32 -0800
committerMartin K. Petersen <[email protected]>2020-11-16 22:33:59 -0500
commit883928201b00928df0b2000be37ee7a8e975be26 (patch)
tree8cdfd532a3259cdda45c1a188eeb6ac895c6d411 /tools/perf/scripts/python/bin
parent16d6317ea438b10c5747f5d4a972ea0e68d1a6ae (diff)
scsi: core: Fix -Wformat for scsi_host
Clang is more aggressive about -Wformat warnings when the format flag specifies a type smaller than the parameter. Turns out, struct Scsi_Host's member can_queue is actually an int. Fixes: [-Wformat] shost_rd_attr(can_queue, "%hd\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d Link: https://github.com/ClangBuiltLinux/linux/issues/378 Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Nathan Chancellor <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]> warning: format specifies type 'short' but the argument has type 'int'
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions