summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-09-15 22:20:59 +0200
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-15 22:44:53 -0400
commit278210c60c6f6958bd2eeaa2120c862683b83d09 (patch)
tree255d76e9f6c7feb77df57087b080bd7f6a66e852 /tools/perf/scripts/python/stackcollapse.py
parentf06a44e235ef188689ba23ffc72e9e89b10951a9 (diff)
downloadlinux-next-278210c60c6f6958bd2eeaa2120c862683b83d09.tar.gz
linux-next-278210c60c6f6958bd2eeaa2120c862683b83d09.zip
scsi: leapraid: Avoid -Wformat-security warning
When extra warnings are enabled, the alloc_ordered_workqueue() function cannot be called with a variable name for the format string: drivers/scsi/leapraid/leapraid_os.c: In function 'leapraid_probe': drivers/scsi/leapraid/leapraid_os.c:2062:58: error: format not a string literal and no format arguments [-Werror=format-security] 2062 | alloc_ordered_workqueue(adapter->fw_evt_s.fw_evt_name, 0); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ As the string is only assembled before the call and not used anywhere else, just fold the earlier snprintf() into the alloc_ordered_workqueue() call. Fixes: 5597088c9e79 ("scsi: leapraid: Add new SCSI driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://patch.msgid.link/20260915202134.3534708-1-arnd@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions