Re: [linux-stable-rc:linux-4.4.y 9959/9999] drivers/usb/gadget/function/f_uac2.c:601:40: warning: variable 'devqual_desc' is not needed and will not be emitted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 4, 2020 at 2:31 PM Nathan Chancellor
<natechancellor@xxxxxxxxx> wrote:
>
> On Sun, Apr 05, 2020 at 05:23:53AM +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.4.y
> > head:   1d2188f191be66572f9e20c9486eda0544ab750f
> > commit: ce513359d8507123e63f34b56e67ad558074be22 [9959/9999] scripts/dtc: Remove redundant YYLOC global declaration
> > config: x86_64-allmodconfig (attached as .config)
> > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 62f3a9650a9f289a07a5f480764fb655178c2334)
> > reproduce:
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout ce513359d8507123e63f34b56e67ad558074be22
> >         # 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@xxxxxxxxx>
> >
> > All warnings (new ones prefixed by >>):
> >
> > >> drivers/usb/gadget/function/f_uac2.c:601:40: warning: variable 'devqual_desc' is not needed and will not be emitted [-Wunneeded-internal-declaration]
> >    static struct usb_qualifier_descriptor devqual_desc = {
> >                                           ^
> >    1 warning generated.
> > --
> > >> drivers/usb/gadget/function/f_printer.c:164:40: warning: variable 'dev_qualifier' is not needed and will not be emitted [-Wunneeded-internal-declaration]
> >    static struct usb_qualifier_descriptor dev_qualifier = {
> >                                           ^
> >    1 warning generated.
> >
>
> Not caused by that patch.
>
> Fixed in mainline:

Hmm...no fixes tag, probably should still be backported to stable.

>
> https://git.kernel.org/linus/d4529f9be1d72919f75f76f31773c4e98d03ce6b
> https://git.kernel.org/linus/e5a89162161d498170e7e39e6cfd2f71458c2b00
-- 
Thanks,
~Nick Desaulniers



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux