Re: [PATCH] lib: find_last_bit.o needed by a module only, move it from lib to obj

Christoph Hellwig
2009-04-26T13:14:38Z

On Sun, Apr 26, 2009 at 10:05:19PM +0930, Rusty Russell wrote:
> On Thu, 23 Apr 2009 11:10:32 pm Benny Halevy wrote:
> > From: Fred Isaman <iisaman@citi.umich.edu>
> >
> > Currently, although find_last_bit is EXPORTed, it is statically linked with
> > the lernel and is referenced only under CONFIG_SMP.
>
> Acked-by: Rusty Russell <rusty@rustcorp.com.au>
>
> We know that any EXPORT_SYMBOL in lib-y is dubious, at least, but we're
> lazy (ISTR it would gut lib-y to exclude them all).

The whole of lib-y is dangerous and we should just kill it..