Input: fsia6b - suppress buffer truncation warning for phys
authorMarkus Koch <markus@notsyncing.net>
Wed, 4 Jun 2025 04:36:44 +0000 (21:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jun 2025 04:51:24 +0000 (21:51 -0700)
commit05286c5d7e72a543a12a62904a221825d72f20e9
treefd3cca897dfe5bbe153c0c145f9121033db40ca3
parent1ac9aa41c6af7949a040f87cf1ed4bc4cac296bf
Input: fsia6b - suppress buffer truncation warning for phys

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

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501020303.1WtxWWTu-lkp@intel.com/
Signed-off-by: Markus Koch <markus@notsyncing.net>
Link: https://lore.kernel.org/r/20250602175710.61583-4-markus@notsyncing.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/fsia6b.c