aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-03-28 13:28:56 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-03-28 13:29:44 -0700
commitbf32bceedd0453c70d9d022e2e29f98e446d7161 (patch)
tree218a11c9e2ad58b4befd85c9bf34d6ca6bd0d42a /tools/perf/scripts/python/intel-pt-events.py
parentc7df39b2a5643c4df566fb23951f619f8c639042 (diff)
Input: ims-pcu - fix printf string overflow
clang warns about a string overflow in this driver drivers/input/misc/ims-pcu.c:1802:2: error: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Werror,-Wformat-truncation] drivers/input/misc/ims-pcu.c:1814:2: error: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Werror,-Wformat-truncation] Make the buffer a little longer to ensure it always fits. Fixes: 628329d52474 ("Input: add IMS Passenger Control Unit driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20240326223825.4084412-7-arnd@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions