From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4875944552473791657==" MIME-Version: 1.0 From: Philip Li 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 Message-ID: <20200404054102.GC3907@intel.com> In-Reply-To: <20200404041239.GA38008@ubuntu-m2-xlarge-x86> List-Id: --===============4875944552473791657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 !=3D root cause): > > = > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-st= able-rc.git linux-4.14.y > > head: e0066de56999ad01b6367b6a42064233ad8bc932 > > commit: 88f7a6aa7fb9aa5076b65489146045dac865f1d3 [9935/9999] scripts/dt= c: 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 f6= 8cc2a7ed766965028b8b0f0d9300a0460c3cf1) > > reproduce: > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > git checkout 88f7a6aa7fb9aa5076b65489146045dac865f1d3 > > # save the attached .config to linux build tree > > COMPILER=3Dclang make.cross ARCH=3Dx86_64 = > > = > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kbuild test robot > > = > > All warnings (new ones prefixed by >>): > > = > > >> drivers/staging/vc04_services/bcm2835-camera/controls.c:62:18: warni= ng: variable 'mains_freq_qmenu' is not needed and will not be emitted [-Wun= needed-internal-declaration] > > static const s64 mains_freq_qmenu[] =3D { > > ^ > > 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[] =3D { > > 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 BCM= 2835 MMAL-based V4L2 camera driver. > > = > > :::::: TO: Eric Anholt > > :::::: CC: Greg Kroah-Hartman > > = > > --- > > 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/9e3701b3809ab3ef22235c96ea69510e26d18d= 30 > = > Cheers, > Nathan >=20 --===============4875944552473791657==--