drivers/gpu/drm/sitronix/st7571-i2c.c:1027:26: sparse: sparse: symbol 'st7567_config' was not declared. Should it be static?
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 024e09e444bd2b06aee9d1f3fe7b313c7a2df1bb commit: a55863ba4c9ea9febe81ecf7dba36e7989a37b7e [10133/10823] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller config: arc-randconfig-r113-20250717 (https://download.01.org/0day-ci/archive/20250718/[email protected]/config) compiler: arc-linux-gcc (GCC) 15.1.0 reproduce: (https://download.01.org/0day-ci/archive/20250718/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/sitronix/st7571-i2c.c:1027:26: sparse: sparse: symbol 'st7567_config' was not declared. Should it be static?
drivers/gpu/drm/sitronix/st7571-i2c.c:1039:26: sparse: sparse: symbol 'st7571_config' was not declared. Should it be static?
vim +/st7567_config +1027 drivers/gpu/drm/sitronix/st7571-i2c.c
1026
> 1027 struct st7571_panel_data st7567_config = { 1028 .init = st7567_lcd_init,
1029 .parse_dt = st7567_parse_dt,
1030 .constraints = {
1031 .min_nlines = 1,
1032 .max_nlines = 64,
1033 .min_ncols = 128,
1034 .max_ncols = 128,
1035 .support_grayscale = false,
1036 },
1037 };
1038
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki