aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorKalle Valo <[email protected]>2023-06-13 17:09:18 +0300
committerKalle Valo <[email protected]>2023-06-16 12:24:16 +0300
commit707a13c7e488785170a5e7f2467f2823824651e2 (patch)
treeff86f6b972dee6bc9cf20ad229340e5ca73aa1ea /tools/perf/scripts/python/bin/stackcollapse-report
parent5ea0c313090046d84064dc556983d8ed7e6065dd (diff)
wifi: ray_cs: fix stringop-truncation GCC warning
GCC 12.2 with W=1 warns: drivers/net/wireless/legacy/ray_cs.c:630:17: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] The driver uses SSID as a string which is just wrong, it should be treated as a byte array instead. But as the driver is ancient and most likely there are no users so convert it to use strscpy(). This makes sure that the string is NUL-terminated and also the warning is fixed. Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions