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 > > > > 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 > > :::::: 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/9e3701b3809ab3ef22235c96ea69510e26d18d30 > > Cheers, > Nathan >