Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: inexio - 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/20260113082917.85109-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Andy Shevchenko and committed by
Dmitry Torokhov
6dd774d5 7cf2d840

+1 -1
+1 -1
drivers/input/touchscreen/inexio.c
··· 123 123 124 124 pinexio->serio = serio; 125 125 pinexio->dev = input_dev; 126 - snprintf(pinexio->phys, sizeof(pinexio->phys), "%s/input0", serio->phys); 126 + scnprintf(pinexio->phys, sizeof(pinexio->phys), "%s/input0", serio->phys); 127 127 128 128 input_dev->name = "iNexio Serial TouchScreen"; 129 129 input_dev->phys = pinexio->phys;