]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: atkbd - switch to use scnprintf() to suppress truncation warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:45:44 +0000 (21:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:51:25 +0000 (21:51 -0700)
commit4ecc7317700a0f402e301380300328141b332170
tree94c8961b5deecc2b4d66e512f4679205ae696718
parent05286c5d7e72a543a12a62904a221825d72f20e9
Input: atkbd - switch to use scnprintf() to suppress truncation warning

Switch the driver to use scnprintf() to avoid warnings about potential
truncation of "phys" field which we can tolerate.

Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/atkbd.c