diff options
author | Arnd Bergmann <[email protected]> | 2024-03-28 13:28:56 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-03-28 13:29:44 -0700 |
commit | bf32bceedd0453c70d9d022e2e29f98e446d7161 (patch) | |
tree | 218a11c9e2ad58b4befd85c9bf34d6ca6bd0d42a /scripts/bpf_doc.py | |
parent | c7df39b2a5643c4df566fb23951f619f8c639042 (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions