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]
Date:	Thu, 11 Feb 2010 14:36:46 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	linux-kernel@...r.kernel.org,
	Mocean Laboratories <info@...ean-labs.com>,
	Juergen Beisert <j.beisert@...gutronix.de>,
	Guennadi Liakhovetski <g.liakhovetski@...gutronix.de>,
	Samuel Ortiz <sameo@...ux.intel.com>
Subject: Re: mmotm 2010-02-10-16-17 uploaded (timberdale)

On Thu, 11 Feb 2010 14:18:52 -0800
Randy Dunlap <randy.dunlap@...cle.com> wrote:

> On 02/11/10 14:01, Andrew Morton wrote:
> > On Wed, 10 Feb 2010 18:43:33 -0800
> > Randy Dunlap <randy.dunlap@...cle.com> wrote:
> > 
> >> On 02/10/10 16:17, akpm@...ux-foundation.org wrote:
> >>> The mm-of-the-moment snapshot 2010-02-10-16-17 has been uploaded to
> >>>
> >>>    http://userweb.kernel.org/~akpm/mmotm/
> >>>
> >>> and will soon be available at
> >>>
> >>>    git://zen-kernel.org/kernel/mmotm.git
> >>>
> >>> It contains the following patches against 2.6.33-rc7:
> >>
> >>
> >> When CONFIG_GPIOLIB is not enabled:
> >>
> >>   CC      drivers/mfd/timberdale.o
> >> In file included from mmotm-2010-0210-1617/drivers/mfd/timberdale.c:37:
> >> mmotm-2010-0210-1617/include/linux/spi/max7301.h:14: error: field 'chip' has incomplete type
> >> make[3]: *** [drivers/mfd/timberdale.o] Error 1
> >>
> >>
> >> Build error observed on i386 and on x86_64.
> >>
> > 
> > Bug is in mainline too, I think.
> > 
> > Something like this?
> 
> Nope, that does not affect the building of the timberdale (see $subject) driver.
> It still has the same error with this patch applied.

Yeah, I patched the wrong record.

> 
> > --- a/drivers/gpio/Kconfig~drivers-gpio-max7301c-depends-on-gpiolib
> > +++ a/drivers/gpio/Kconfig
> > @@ -92,7 +92,7 @@ comment "I2C GPIO expanders:"
> >  
> >  config GPIO_MAX7300
> >  	tristate "Maxim MAX7300 GPIO expander"
> > -	depends on I2C
> > +	depends on I2C && GPIOLIB
> >  	select GPIO_MAX730X
> >  	help
> >  	  GPIO driver for Maxim MAX7301 I2C-based GPIO expander.

This?

--- a/drivers/gpio/Kconfig~drivers-gpio-max7301c-depends-on-gpiolib
+++ a/drivers/gpio/Kconfig
@@ -256,7 +256,7 @@ comment "SPI GPIO expanders:"
 
 config GPIO_MAX7301
 	tristate "Maxim MAX7301 GPIO expander"
-	depends on SPI_MASTER
+	depends on SPI_MASTER && GPIO_LIB
 	select GPIO_MAX730X
 	help
 	  GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
_

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ