lkml.org 
[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC][PATCH] warn when statically-allocated kobjects are used
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-23 04:52    [from the cache]
©2003-2011 Jasper Spaans