diff options
| author | Arnd Bergmann <[email protected]> | 2024-07-19 10:54:22 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-07-19 14:05:23 +0000 |
| commit | 785280973472dbdee2c31cb740633c4b6460a8ee (patch) | |
| tree | 003098797e8864c6aad1cc15dfe51d5038247485 /scripts/gcc-plugins | |
| parent | nfsd: nfsd_file_lease_notifier_call gets a file_lease as an argument (diff) | |
| download | kernel-785280973472dbdee2c31cb740633c4b6460a8ee.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
