[linux-next:master 3007/5901] drivers/video/backlight/ktd2801-backlight.c:16:33: sparse: sparse: symbol 'ktd2801_timing' 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:   445a555e0623387fa9b94e68e61681717e70200a
commit: 66c76c1cd984c14660453dfa2118014817924375 [3007/5901] backlight: Add Kinetic KTD2801 backlight support
config: arm-randconfig-r111-20240209 (https://download.01.org/0day-ci/archive/20240210/202402100625.M0RkJhMh-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240210/202402100625.M0RkJhMh-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/202402100625.M0RkJhMh-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/video/backlight/ktd2801-backlight.c:16:33: sparse: sparse: symbol 'ktd2801_timing' was not declared. Should it be static?

vim +/ktd2801_timing +16 drivers/video/backlight/ktd2801-backlight.c

    14	
    15	/* These values have been extracted from Samsung's driver. */
  > 16	const struct expresswire_timing ktd2801_timing = {
    17		.poweroff_us = 2600,
    18		.detect_delay_us = 150,
    19		.detect_us = 270,
    20		.data_start_us = 5,
    21		.short_bitset_us = 5,
    22		.long_bitset_us = 15,
    23		.end_of_data_low_us = 10,
    24		.end_of_data_high_us = 350
    25	};
    26	

-- 
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