Re: [pinctrl:devel 152/153] drivers/gpio/gpiolib.c:1943:19: warning: 'struct lock_dep_class' declared inside parameter list

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

 



On Wed, Nov 08, 2017 at 04:04:05PM +0100, Geert Uytterhoeven wrote:
> On Wed, Nov 8, 2017 at 3:38 PM, kbuild test robot
> <fengguang.wu@xxxxxxxxx> wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
> > head:   bfcadc85ef134881fce5f8635648e36de1ab4c9d
> > commit: 959bc7b22bd25a3a907fbb9b26a1d0cbdf98ef40 [152/153] gpio: Automatically add lockdep keys
> > config: m68k-m5475evb_defconfig (attached as .config)
> > compiler: m68k-linux-gcc (GCC) 4.9.0
> > reproduce:
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 959bc7b22bd25a3a907fbb9b26a1d0cbdf98ef40
> >         # save the attached .config to linux build tree
> >         make.cross ARCH=m68k
> >
> > All warnings (new ones prefixed by >>):
> >
> >>> drivers/gpio/gpiolib.c:1943:19: warning: 'struct lock_dep_class' declared inside parameter list
> >                struct lock_dep_class *lock_key)
> >                       ^
> 
> s/lock_dep_class/lock_class_key/

Yeah, I just sent Linus a fixup patch for that. Sorry for not noticing
earlier. I was focussing my build tests on covering as many GPIO drivers
as possible but never actually thought of building this for
!GPIOLIB_IRQCHIP.

Thierry

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux