linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2022-05-09 22:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-09 22:07 UTC (permalink / raw)
  To: Alvin Šipraga; +Cc: kbuild-all, Linux Memory Management List, Robert Foss

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@intel.com/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@intel.com>

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-09 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 22:07 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox