[linux-next:master 7688/10218] drivers/gpu/drm/bridge/adv7511/adv7511.h:235:17: warning: 'ADV7511_REG_CEC_RX_FRAME_LEN' defined but not used

[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:   ab38272e99730375c5db3db1c4cebf691a0550ab
commit: ab0af093bf905a7616eaf247469bc8ee3c117e22 [7688/10218] drm: bridge: adv7511: use non-legacy mode for CEC RX
config: x86_64-randconfig-m031-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100624.mqkaVYP7-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ab0af093bf905a7616eaf247469bc8ee3c117e22
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout ab0af093bf905a7616eaf247469bc8ee3c117e22
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/bridge/adv7511/adv7511_drv.c:23:
>> drivers/gpu/drm/bridge/adv7511/adv7511.h:235:17: warning: 'ADV7511_REG_CEC_RX_FRAME_LEN' defined but not used [-Wunused-const-variable=]
     235 | static const u8 ADV7511_REG_CEC_RX_FRAME_LEN[] = {
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/adv7511/adv7511.h:229:17: warning: 'ADV7511_REG_CEC_RX_FRAME_HDR' defined but not used [-Wunused-const-variable=]
     229 | static const u8 ADV7511_REG_CEC_RX_FRAME_HDR[] = {
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/ADV7511_REG_CEC_RX_FRAME_LEN +235 drivers/gpu/drm/bridge/adv7511/adv7511.h

   228	
 > 229	static const u8 ADV7511_REG_CEC_RX_FRAME_HDR[] = {
   230		ADV7511_REG_CEC_RX1_FRAME_HDR,
   231		ADV7511_REG_CEC_RX2_FRAME_HDR,
   232		ADV7511_REG_CEC_RX3_FRAME_HDR,
   233	};
   234	
 > 235	static const u8 ADV7511_REG_CEC_RX_FRAME_LEN[] = {
   236		ADV7511_REG_CEC_RX1_FRAME_LEN,
   237		ADV7511_REG_CEC_RX2_FRAME_LEN,
   238		ADV7511_REG_CEC_RX3_FRAME_LEN,
   239	};
   240	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[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