diff options
author | Lee Jones <[email protected]> | 2020-07-23 13:24:21 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-07-24 22:32:01 -0400 |
commit | 7fa03c77cd54e1ff8fc58bb85f787ff67910ec48 (patch) | |
tree | eaa2718db18f22c7e7f66b083e2afc753356d28f /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 6e3f4f68821ba4f17c38655e72698b4323b7f756 (diff) |
scsi: lpfc: Use __printf() format notation
Fixes the following W=1 kernel build warning(s):
drivers/scsi/lpfc/lpfc_init.c: In function ‘lpfc_dbg_print’:
drivers/scsi/lpfc/lpfc_init.c:14212:6: warning: function ‘lpfc_dbg_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
14212 | sizeof(phba->dbg_log[idx].log), fmt, args);
| ^~~~~~
Link: https://lore.kernel.org/r/[email protected]
Cc: James Smart <[email protected]>
Cc: Dick Kennedy <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions