Re: [RFC][PATCH] warn when statically-allocated kobjects are used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 17 March 2006 12:43, Greg KH wrote:
> On Fri, Mar 17, 2006 at 05:04:03PM +0100, Arjan van de Ven wrote:
> > 
> > > +warn:
> > > +	printk("---- begin silly warning ----\n");
> > > +	printk("This is a janitorial warning, not a kernel bug.\n");
> > 
> > technically it IS a kernel bug ;)
> 
> Until we fix up all of the struct bus and decl_subsys() usages in the
> kernel, this should show a lot of false positives...
> 

Plus IIRC ARM creates bunch of platform devices which are statically
allocated. But because they never get unregistered everything works
just fine.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux