mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SPI related Kconfig warning
@ 2008-01-31  4:41 Kumar Gala
  2008-01-31  7:21 ` [spi-devel-general] " David Brownell
  2008-02-02 20:51 ` Sam Ravnborg
  0 siblings, 2 replies; 4+ messages in thread
From: Kumar Gala @ 2008-01-31  4:41 UTC (permalink / raw)
  To: spi-devel-general; +Cc: Linux Kernel

Was wondering if anyone was looking at the cause of this warning in  
top of linus's tree (8af03e782cae1e0a0f530ddd22301cdd12cf9dc0)

drivers/spi/Kconfig:156:warning: 'select' used by config symbol  
'SPI_PXA2XX' refers to undefined symbol 'PXA_SSP'

I was doing a build of a ppc kernel.

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spi-devel-general] SPI related Kconfig warning
  2008-01-31  4:41 SPI related Kconfig warning Kumar Gala
@ 2008-01-31  7:21 ` David Brownell
  2008-01-31  9:27   ` eric miao
  2008-02-02 20:51 ` Sam Ravnborg
  1 sibling, 1 reply; 4+ messages in thread
From: David Brownell @ 2008-01-31  7:21 UTC (permalink / raw)
  To: Kumar Gala; +Cc: spi-devel-general, Linux Kernel, eric miao

On Wednesday 30 January 2008, Kumar Gala wrote:
> Was wondering if anyone was looking at the cause of this warning in  
> top of linus's tree (8af03e782cae1e0a0f530ddd22301cdd12cf9dc0)
> 
> drivers/spi/Kconfig:156:warning: 'select' used by config symbol  
> 'SPI_PXA2XX' refers to undefined symbol 'PXA_SSP'
> 
> I was doing a build of a ppc kernel.

Happens on x86, AVR32, and non-PXA ARM too.  Came from some PXA cleanup
patches.  Eric, didn't you have a patch for this?

(Of course I *still* don't understand why kconfig bothers to look
at reverse dependencies whose "forward" ones can never be satisfied.
If it stopped looking at those, lots of similar problems would vanish.)

- Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spi-devel-general] SPI related Kconfig warning
  2008-01-31  7:21 ` [spi-devel-general] " David Brownell
@ 2008-01-31  9:27   ` eric miao
  0 siblings, 0 replies; 4+ messages in thread
From: eric miao @ 2008-01-31  9:27 UTC (permalink / raw)
  To: David Brownell; +Cc: Kumar Gala, spi-devel-general, Linux Kernel

On Jan 31, 2008 3:21 PM, David Brownell <david-b@pacbell.net> wrote:
> On Wednesday 30 January 2008, Kumar Gala wrote:
> > Was wondering if anyone was looking at the cause of this warning in
> > top of linus's tree (8af03e782cae1e0a0f530ddd22301cdd12cf9dc0)
> >
> > drivers/spi/Kconfig:156:warning: 'select' used by config symbol
> > 'SPI_PXA2XX' refers to undefined symbol 'PXA_SSP'
> >
> > I was doing a build of a ppc kernel.
>
> Happens on x86, AVR32, and non-PXA ARM too.  Came from some PXA cleanup
> patches.  Eric, didn't you have a patch for this?
>

Nope.

If moving the symbol PXA_SSP to the "depends on" list, this option will
remain invisible if a careless user does not select PXA_SSP.

Yet I'm not sure this is the way to go or mandatory by the kconfig rules.

> (Of course I *still* don't understand why kconfig bothers to look
> at reverse dependencies whose "forward" ones can never be satisfied.
> If it stopped looking at those, lots of similar problems would vanish.)
>
> - Dave
>



-- 
Cheers
- eric

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SPI related Kconfig warning
  2008-01-31  4:41 SPI related Kconfig warning Kumar Gala
  2008-01-31  7:21 ` [spi-devel-general] " David Brownell
@ 2008-02-02 20:51 ` Sam Ravnborg
  1 sibling, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2008-02-02 20:51 UTC (permalink / raw)
  To: Kumar Gala; +Cc: spi-devel-general, Linux Kernel

On Wed, Jan 30, 2008 at 10:41:33PM -0600, Kumar Gala wrote:
> Was wondering if anyone was looking at the cause of this warning in  
> top of linus's tree (8af03e782cae1e0a0f530ddd22301cdd12cf9dc0)
> 
> drivers/spi/Kconfig:156:warning: 'select' used by config symbol  
> 'SPI_PXA2XX' refers to undefined symbol 'PXA_SSP'
> 
> I was doing a build of a ppc kernel.

I have now killed that warning. from kconfig. It has
proved rather useless but annoying.

	Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-02 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-31  4:41 SPI related Kconfig warning Kumar Gala
2008-01-31  7:21 ` [spi-devel-general] " David Brownell
2008-01-31  9:27   ` eric miao
2008-02-02 20:51 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®