All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [linux-stable-rc:linux-4.14.y 9935/9999] drivers/staging/vc04_services/bcm2835-camera/controls.c:62:18: warning: variable 'mains_freq_qmenu' is not needed and will not be emitted
Date: Sat, 04 Apr 2020 13:41:02 +0800	[thread overview]
Message-ID: <20200404054102.GC3907@intel.com> (raw)
In-Reply-To: <20200404041239.GA38008@ubuntu-m2-xlarge-x86>

[-- Attachment #1: Type: text/plain, Size: 3468 bytes --]

On Fri, Apr 03, 2020 at 09:12:39PM -0700, Nathan Chancellor wrote:
> On Sat, Apr 04, 2020 at 11:46:06AM +0800, kbuild test robot wrote:
> > Hi Dirk,
> > 
> > First bad commit (maybe != root cause):
> > 
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
> > head:   e0066de56999ad01b6367b6a42064233ad8bc932
> > commit: 88f7a6aa7fb9aa5076b65489146045dac865f1d3 [9935/9999] scripts/dtc: Remove redundant YYLOC global declaration
> > config: x86_64-randconfig-b002-20200403 (attached as .config)
> > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f68cc2a7ed766965028b8b0f0d9300a0460c3cf1)
> > reproduce:
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 88f7a6aa7fb9aa5076b65489146045dac865f1d3
> >         # save the attached .config to linux build tree
> >         COMPILER=clang make.cross ARCH=x86_64 
> > 
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kbuild test robot <lkp@intel.com>
> > 
> > All warnings (new ones prefixed by >>):
> > 
> > >> drivers/staging/vc04_services/bcm2835-camera/controls.c:62:18: warning: variable 'mains_freq_qmenu' is not needed and will not be emitted [-Wunneeded-internal-declaration]
> >    static const s64 mains_freq_qmenu[] = {
> >                     ^
> >    1 warning generated.
> > 
> > vim +/mains_freq_qmenu +62 drivers/staging/vc04_services/bcm2835-camera/controls.c
> > 
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  61  
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27 @62  static const s64 mains_freq_qmenu[] = {
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  63  	V4L2_CID_POWER_LINE_FREQUENCY_DISABLED,
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  64  	V4L2_CID_POWER_LINE_FREQUENCY_50HZ,
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  65  	V4L2_CID_POWER_LINE_FREQUENCY_60HZ,
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  66  	V4L2_CID_POWER_LINE_FREQUENCY_AUTO
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  67  };
> > 7b3ad5abf027b76 drivers/staging/media/platform/bcm2835/controls.c Eric Anholt 2017-01-27  68  
> > 
> > :::::: The code at line 62 was first introduced by commit
> > :::::: 7b3ad5abf027b7643b38c4006d7f4ce47a86dd3a staging: Import the BCM2835 MMAL-based V4L2 camera driver.
> > 
> > :::::: TO: Eric Anholt <eric@anholt.net>
> > :::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > 
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> 
> Obviously not causes by that patch... Is there any way for 0day to
> blacklist that patch as being a problem so that it stops sending emails
> to the patch author?
Got it, we will blacklist this warning, meanwhile to check the bisection
to see anything we can do better.

> 
> I did solve this warning a while ago, it just never got backported to
> 4.14: https://git.kernel.org/linus/9e3701b3809ab3ef22235c96ea69510e26d18d30
> 
> Cheers,
> Nathan
> 

       reply	other threads:[~2020-04-04  5:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200404041239.GA38008@ubuntu-m2-xlarge-x86>
2020-04-04  5:41 ` Philip Li [this message]
2020-04-04  3:46 [linux-stable-rc:linux-4.14.y 9935/9999] drivers/staging/vc04_services/bcm2835-camera/controls.c:62:18: warning: variable 'mains_freq_qmenu' is not needed and will not be emitted kbuild test robot

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=20200404054102.GC3907@intel.com \
    --to=philip.li@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.