Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: [RFC][PATCH] warn when statically-allocated kobjects are used | Date | Wed, 22 Mar 2006 22:49:22 -0500 |
| |
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/
| |