* [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
@ 2020-04-04 3:46 kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-04-04 3:46 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2679 bytes --]
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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33497 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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
[not found] <20200404041239.GA38008@ubuntu-m2-xlarge-x86>
@ 2020-04-04 5:41 ` Philip Li
0 siblings, 0 replies; 2+ messages in thread
From: Philip Li @ 2020-04-04 5:41 UTC (permalink / raw)
To: kbuild-all
[-- 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-04 5:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
[not found] <20200404041239.GA38008@ubuntu-m2-xlarge-x86>
2020-04-04 5:41 ` Philip Li
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.