]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: hampshire - switch to use scnprintf() to suppress truncation warning
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Jan 2026 20:01:27 +0000 (12:01 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Jan 2026 20:16:47 +0000 (12:16 -0800)
commitc2f24e91c9144f4163b6fb2f443e63c24b7a9bb8
tree3339de62aa1d5281f9e00400e1b7d53270f887ca
parented9b2fc10db71c20780a246ff7977d8b1938d17b
Input: hampshire - 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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260113082905.83718-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/hampshire.c