diff options
| author | Arnd Bergmann <[email protected]> | 2024-03-26 23:38:01 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-29 12:22:28 -0700 |
| commit | 9046d581ed586f3c715357638ca12c0e84402002 (patch) | |
| tree | c674e218b700d90014c9cd21e65d49328d31bd59 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | b6694abcf5dffd2dac83a7fea067d27a49df0079 (diff) | |
enetc: avoid truncating error message
As clang points out, the error message in enetc_setup_xdp_prog()
still does not fit in the buffer and will be truncated:
drivers/net/ethernet/freescale/enetc/enetc.c:2771:3: error: 'snprintf' will always be truncated; specified size is 80, but format string expands to at least 87 [-Werror,-Wformat-truncation]
Replace it with an even shorter message that should fit.
Fixes: f968c56417f0 ("net: enetc: shorten enetc_setup_xdp_prog() error message to fit NETLINK_MAX_FMTMSG_LEN")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions