[PATCH] Driver core: class_device_add needs error checks
authorStephen Hemminger <shemminger@osdl.org>
Wed, 26 Apr 2006 16:53:14 +0000 (09:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 19:40:48 +0000 (12:40 -0700)
class_device_add needs to check the return value of all the setup it
does. It doesn't handle out of memory well. This is not complete, probably
more needs to be done.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found