linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Alvin Šipraga" <alsi@bang-olufsen.dk>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Robert Foss <robert.foss@linaro.org>
Subject: [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: Tue, 10 May 2022 06:07:55 +0800	[thread overview]
Message-ID: <202205100624.mqkaVYP7-lkp@intel.com> (raw)

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


                 reply	other threads:[~2022-05-09 22:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202205100624.mqkaVYP7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alsi@bang-olufsen.dk \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=robert.foss@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox