summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-01-16 19:05:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-17 17:26:33 +0300
commit70cd0576aa39c55aabd227851cba0c601e811fb6 (patch)
tree3fed3e4e791cffa0a395f7d54af20fb264a931f9 /tools/perf/scripts/python/export-to-sqlite.py
parent086fd062bc3883ae1ce4166cff5355db315ad879 (diff)
downloadlinux-70cd0576aa39c55aabd227851cba0c601e811fb6.tar.xz
usb: hcd: Bump local buffer size in rh_string()
GCC is not happy about the buffer size: drivers/usb/core/hcd.c:441:48: error: ā€˜%s’ directive output may be truncated writing up to 64 bytes into a region of size between 35 and 99 [-Werror=format-truncation=] 441 | snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname, | ^~ 442 | init_utsname()->release, hcd->driver->description); | ~~~~~~~~~~~~~~~~~~~~~~~ Bump the size to get it enough for the possible strings. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250116160543.216913-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions