Re: [PATCH] Input: exc3000 - add ACPI support for EXC80H60

From: kernel test robot
Date: Wed Jul 05 2023 - 06:09:02 EST


Hi Andreas,

kernel test robot noticed the following build warnings:

[auto build test WARNING on v6.4]
[also build test WARNING on linus/master next-20230705]
[cannot apply to dtor-input/next dtor-input/for-linus]
[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/Andreas-Helbech-Kleist/Input-exc3000-add-ACPI-support-for-EXC80H60/20230704-185127
base: v6.4
patch link: https://lore.kernel.org/r/20230704105021.898555-1-andreaskleist%40gmail.com
patch subject: [PATCH] Input: exc3000 - add ACPI support for EXC80H60
config: i386-randconfig-i062-20230703 (https://download.01.org/0day-ci/archive/20230705/202307051716.GC4vKJUY-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230705/202307051716.GC4vKJUY-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/202307051716.GC4vKJUY-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/input/touchscreen/exc3000.c:460:51: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long [usertype] driver_data @@ got struct eeti_dev_info * @@
drivers/input/touchscreen/exc3000.c:460:51: sparse: expected unsigned long [usertype] driver_data
drivers/input/touchscreen/exc3000.c:460:51: sparse: got struct eeti_dev_info *

vim +460 drivers/input/touchscreen/exc3000.c

457
458 #ifdef CONFIG_ACPI
459 static const struct acpi_device_id exc3000_acpi_match[] = {
> 460 { "EGA00001", .driver_data = &exc3000_info[EETI_EXC80H60] },
461 { }
462 };
463 MODULE_DEVICE_TABLE(acpi, exc3000_acpi_match);
464 #endif
465

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