diff options
author | 2024-08-16 10:07:40 +0800 | |
---|---|---|
committer | 2024-09-23 15:03:13 -0400 | |
commit | 9090a7f78623b5312562861d54a4476d905c7c4c (patch) | |
tree | d8a0f951c118f4efcc91f1122d200d30e49e74c6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nfs: Remove unnecessary NULL check before kfree() (diff) | |
download | wireguard-linux-9090a7f78623b5312562861d54a4476d905c7c4c.tar.xz wireguard-linux-9090a7f78623b5312562861d54a4476d905c7c4c.zip |
SUNRPC: Fix -Wformat-truncation warning
Increase size of the servername array to avoid truncated output warning.
net/sunrpc/clnt.c:582:75: error:‘%s’ directive output may be truncated
writing up to 107 bytes into a region of size 48
[-Werror=format-truncation=]
582 | snprintf(servername, sizeof(servername), "%s",
| ^~
net/sunrpc/clnt.c:582:33: note:‘snprintf’ output
between 1 and 108 bytes into a destination of size 48
582 | snprintf(servername, sizeof(servername), "%s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
583 | sun->sun_path);
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Suggested-by: NeilBrown <neilb@suse.de>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions