]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: psmouse - switch to use scnprintf() to suppress truncation warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:47:36 +0000 (21:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:51:28 +0000 (21:51 -0700)
commit805f5bbaa507a7e15333ad7bb34d517251de4eb9
treedb12085ff18fd3821aafc60f1028608a8ad6c58b
parentce098f2aded8d0f6f41bb9ab069c3f3c8ef5fc42
Input: psmouse - 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/psmouse-base.c