aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-01-17 18:00:15 +0100
committerMartin K. Petersen <[email protected]>2023-01-18 18:34:41 -0500
commitd794a23113b1a198e3d05f144aeba5b6ac87fe99 (patch)
treeb2a2bdc95192f3dac9e396ba5b18da01ef876595 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentfd5df558c31e2212b5bdd7a71afcc48f3e2c62dd (diff)
scsi: qla2xxx: Fix printk() format string
Printing a size_t value that is the result of the sizeof() operator requires using the %z format string modifier to avoid a warning on 32-bit architectures: drivers/scsi/qla2xxx/qla_mid.c: In function 'qla_create_buf_pool': drivers/scsi/qla2xxx/qla_mid.c:1094:51: error: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Werror=format=] 1094 | "Failed to allocate buf_map(%ld).\n", sz * sizeof(unsigned long)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int unsigned int | %d Fixes: 82d8dfd2a238 ("scsi: qla2xxx: edif: Fix performance dip due to lock contention") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Himanshu Madhani <[email protected] <mailto:[email protected]>> Reviewed-by: Nick Desaulniers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions