diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2024-10-16 11:15:20 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-19 09:57:04 +0200 |
| commit | d76e1402ec453cfbface5240f74c783ef0aa1985 (patch) | |
| tree | b30b13abf77fee87c80916698f09728bf19055f1 /tools/perf/scripts/python | |
| parent | staging: gpib: add bus specific Kconfig dependencies (diff) | |
| download | linux-d76e1402ec453cfbface5240f74c783ef0aa1985.tar.gz linux-d76e1402ec453cfbface5240f74c783ef0aa1985.zip | |
staging: gpib: use proper format string in request_module
Using a string variable as a format causes a -Wformat-security
warning. Since the only use of the temporary module_string[] is to hold
the sprintf() output, just pass the format string and argument directly
to request_module().
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241016111521.1143191-7-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
