aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2020-03-07 21:01:15 -0800
committerMartin K. Petersen <[email protected]>2020-03-11 23:07:57 -0400
commit5848fe960b080b1e731b467b6e026de841c65234 (patch)
tree26ac1ab742f81fe4a3f411527d8344df92782df1 /tools/perf/scripts/python/bin/stackcollapse-report
parentcc6b32ee3b914d3036a4d364fd4918b48fc034eb (diff)
scsi: fusion: fix if-statement empty body warning
When driver debugging is not enabled, change the debug print macros to use the no_printk() macro. This fixes a gcc warning when -Wextra is set: ../drivers/message/fusion/mptlan.c:266:39: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body] I have verified that there is very little object code change (with gcc 7.5.0). There are a few changes like: cmp %a,%b jl $1 to cmp %b,%a jg $1 Link: https://lore.kernel.org/r/[email protected] Cc: Bart Van Assche <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: "Martin K. Petersen" <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Suganath Prabu Subramani <[email protected]> Cc: Chaitra P B <[email protected]> Cc: Sathya Prakash <[email protected]> Reviewed-by: Bart van Assche <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions