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