lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77c0a979af8c46a52dac2af435c16744698d6e5c.camel@physik.fu-berlin.de>
Date:   Thu, 09 Mar 2023 14:58:14 +0100
From:   John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
To:     Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:     Linus Walleij <linus.walleij@...aro.org>,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Yoshinori Sato <ysato@...rs.sourceforge.jp>,
        Rich Felker <dalias@...c.org>, linux-gpio@...r.kernel.org,
        linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org,
        Linux Kernel Functional Testing <lkft@...aro.org>
Subject: Re: [PATCH] sh: mach-x3proto: Add missing #include
 <linux/gpio/driver.h>

On Thu, 2023-03-09 at 14:56 +0100, Geert Uytterhoeven wrote:
> Hi Adrian,
> 
> > On Thu, 2023-03-09 at 14:52 +0100, Geert Uytterhoeven wrote:
> > > shx3_defconfig:
> > > 
> > >     arch/sh/boards/mach-x3proto/setup.c: In function ‘x3proto_devices_setup’:
> > >     arch/sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type ‘struct gpio_chip’
> > >       246 |                 baseboard_buttons[i].gpio = x3proto_gpio_chip.base + i;
> > >         |                                                              ^
> > > 
> > > Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
> > > Link: https://lore.kernel.org/r/CA+G9fYs7suzGsEDK40G0pzxXyR1o2V4Pn-oy1owTsTWRVEVHog@mail.gmail.com
> > > Fixes: 21d9526d13b5467b ("gpiolib: Make the legacy <linux/gpio.h> consumer-only")
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> 
> > > --- a/arch/sh/boards/mach-x3proto/setup.c
> > > +++ b/arch/sh/boards/mach-x3proto/setup.c
> > > @@ -17,6 +17,7 @@
> > >  #include <linux/usb/r8a66597.h>
> > >  #include <linux/usb/m66592.h>
> > >  #include <linux/gpio.h>
> > > +#include <linux/gpio/driver.h>
> > >  #include <linux/gpio_keys.h>
> > >  #include <mach/ilsel.h>
> > >  #include <mach/hardware.h>
> > 
> > Thanks. You were much faster than me. I didn't even have the time to have a look
> > at the problem yet ;-). Is it sufficient to pick this up for 6.4?
> 
> As the problem is introduced in and only found in gpio/for-next,
> I expect Linus or Andy to pick it up.

OK, thanks! I'm planning to prepare my for-next changes this weekend.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ