Input: alps - switch to use scnprintf() to suppress truncation warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:42:51 +0000 (21:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:51:26 +0000 (21:51 -0700)
commit1babc858cce111d744baf9a015ec65a19aafbbea
treebe123c503cde1b282f52da28e6bd0be1437a91bd
parent4ecc7317700a0f402e301380300328141b332170
Input: alps - 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/mouse/alps.c