diff options
author | 2024-07-19 12:54:22 +0200 | |
---|---|---|
committer | 2024-07-19 10:05:23 -0400 | |
commit | 785280973472dbdee2c31cb740633c4b6460a8ee (patch) | |
tree | 003098797e8864c6aad1cc15dfe51d5038247485 /scripts/generate_rust_analyzer.py | |
parent | nfsd: nfsd_file_lease_notifier_call gets a file_lease as an argument (diff) | |
download | linux-rng-785280973472dbdee2c31cb740633c4b6460a8ee.tar.xz linux-rng-785280973472dbdee2c31cb740633c4b6460a8ee.zip |
sunrpc: avoid -Wformat-security warning
Using a non-constant string as an sprintf-style is potentially dangerous:
net/sunrpc/svc.c: In function 'param_get_pool_mode':
net/sunrpc/svc.c:164:32: error: format not a string literal and no format arguments [-Werror=format-security]
Use a literal "%s" format instead.
Fixes: 5f71f3c32553 ("sunrpc: refactor pool_mode setting code")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions