Re: [PATCH] RFC: AMBA bus discardable probe() function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Wednesday, August 4, 2010 - 12:43 pm

On Wed, Aug 04, 2010 at 02:39:03PM +0200, Linus Walleij wrote:

Ick, no, don't do that :(


Nope, sorry, not allowed.  This should be your first flag that something
is wrong here.

The platform bus does this because it is part of the driver core, and it
does other fun things.  This should never be needed for any other bus.
Note how no other bus needs to do this, so that should be a hint that
it's wrong.


Is that _really_ worth it?  Come on, how much memory are you saving
here?


Ick, nope, you can't do this, sorry.  That's a "private" structure for a
reason.

So what's the real driving force here, just saving a few hundred bytes
after booting?  Or something else?

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] RFC: AMBA bus discardable probe() function, Linus Walleij, (Wed Aug 4, 5:39 am)
Re: [PATCH] RFC: AMBA bus discardable probe() function, Greg KH, (Wed Aug 4, 12:43 pm)
Re: [PATCH] RFC: AMBA bus discardable probe() function, Russell King - ARM Linux, (Wed Aug 4, 3:24 pm)
RE: [PATCH] RFC: AMBA bus discardable probe() function, Linus WALLEIJ, (Wed Aug 4, 11:22 pm)
RE: [PATCH] RFC: AMBA bus discardable probe() function, Linus WALLEIJ, (Wed Aug 4, 11:26 pm)
Re: [PATCH] RFC: AMBA bus discardable probe() function, Dmitry Torokhov, (Wed Aug 4, 11:43 pm)