[linux-next:master 7019/7122] drivers/gpu/drm/panel/panel-lg-sw43408.c:185:28: sparse: sparse: symbol 'sw43408_backlight_ops' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   a35e92ef04c07bd473404b9b73d489aea19a60a8
commit: 069a6c0e94f99437652dbb7229a56233c7d39968 [7019/7122] drm: panel: Add LG sw43408 panel driver
config: arm64-randconfig-r123-20240420 (https://download.01.org/0day-ci/archive/20240420/202404200739.hbWZvOhR-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240420/202404200739.hbWZvOhR-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/202404200739.hbWZvOhR-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/panel/panel-lg-sw43408.c:185:28: sparse: sparse: symbol 'sw43408_backlight_ops' was not declared. Should it be static?

vim +/sw43408_backlight_ops +185 drivers/gpu/drm/panel/panel-lg-sw43408.c

   184	
 > 185	const struct backlight_ops sw43408_backlight_ops = {
   186		.update_status = sw43408_backlight_update_status,
   187	};
   188	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux