Re: [PATCH] Input: synaptics - make InterTouch quirks table driven

From: kernel test robot

Date: Thu Nov 05 2026 - 09:55:55 EST


Hi Lovekesh,

kernel test robot noticed the following build warnings:

[auto build test WARNING on dtor-input/next]
[also build test WARNING on dtor-input/for-linus hid/for-next linus/master v7.4-rc1 next-20261030]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Lovekesh-Solanki/Input-synaptics-make-InterTouch-quirks-table-driven/20261105-095614
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link: https://lore.kernel.org/r/20261105042614.688312-1-lovekeshsolanki00%40gmail.com
patch subject: [PATCH] Input: synaptics - make InterTouch quirks table driven
config: csky-defconfig (https://download.01.org/0day-ci/archive/20261105/202611052201.kQxXuVQk-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261105/202611052201.kQxXuVQk-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611052201.kQxXuVQk-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/input/mouse/synaptics.c:226:1: warning: 'synaptics_intertouch_blocklist' defined but not used [-Wunused-const-variable=]
226 | synaptics_intertouch_blocklist[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/device.h:15,
from include/linux/input.h:19,
from include/linux/input/mt.h:11,
from drivers/input/mouse/synaptics.c:26:
drivers/input/mouse/synaptics.c: In function 'synaptics_init_ps2':
<command-line>: warning: '%s' directive argument is null [-Wformat-overflow=]
include/linux/dev_printk.h:110:30: note: in definition of macro 'dev_printk_index_wrap'
110 | _p_func(dev, fmt, ##__VA_ARGS__); \
| ^~~
include/linux/dev_printk.h:160:58: note: in expansion of macro 'dev_fmt'
160 | dev_printk_index_wrap(_dev_info, KERN_INFO, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/input/mouse/psmouse.h:202:9: note: in expansion of macro 'dev_info'
202 | dev_info(&(psmouse)->ps2dev.serio->dev, \
| ^~~~~~~~
drivers/input/mouse/psmouse.h:195:33: note: in expansion of macro 'KBUILD_BASENAME'
195 | #define psmouse_fmt(fmt) KBUILD_BASENAME ": " fmt
| ^~~~~~~~~~~~~~~
drivers/input/mouse/psmouse.h:203:18: note: in expansion of macro 'psmouse_fmt'
203 | psmouse_fmt(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/input/mouse/synaptics.c:1696:17: note: in expansion of macro 'psmouse_info'
1696 | psmouse_info(psmouse,
| ^~~~~~~~~~~~


vim +/synaptics_intertouch_blocklist +226 drivers/input/mouse/synaptics.c

221
222 /*
223 * List of devices with broken board revisions.
224 */
225 static const struct synaptics_intertouch_quirk
> 226 synaptics_intertouch_blocklist[] = {
227 {
228 /* ThinkPad T440p */
229 .board_id = 2722,
230 .pnp_id = "LEN0036",
231 },
232 };
233

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki