drivers/input/touchscreen/himax_hx83112b.c:125:42-48: ERROR: application of sizeof to pointer
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6e4436539ae182dc86d57d13849862bcafaa4709 commit: 0944829d491e0f342924154d2e58c6b2e61e3595 Input: himax_hx83112b - implement MCU register reading date: 6 weeks ago config: sparc64-randconfig-r051-20240819 (https://download.01.org/0day-ci/archive/20240820/[email protected]/config) compiler: sparc64-linux-gcc (GCC) 14.1.0
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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
cocci warnings: (new ones prefixed by >>)
>> drivers/input/touchscreen/himax_hx83112b.c:125:42-48: ERROR: application of sizeof to pointer
vim +125 drivers/input/touchscreen/himax_hx83112b.c
120
121 static int himax_read_mcu(struct himax_ts_data *ts, u32 address, u32 *dst)
122 {
123 int error;
124
> 125 error = himax_bus_read(ts, address, dst, sizeof(dst));
126 if (error)
127 return error;
128
129 return 0;
130 }
131
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki