driver model: anti-oopsing medicine
commit7c2250352e11bf956c4cfa20b01ae6ba72882788
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 7 Aug 2008 01:52:44 +0000 (6 18:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:15:36 +0000 (21 10:15 -0700)
tree8ea27a86d737d80a77931f1bc4d59b6aa8eafca7
parentbf9ca69fc8d19d4034391d3df4c35dccdef9d28c
driver model: anti-oopsing medicine

Anti-oops medicine for the class iterators ... the oops was
observed when a class was implicitly referenced before it
was initialized.

[Modified by Greg to spit a warning back so someone knows to fix their code]

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c