]> err.no Git - linux-2.6/commit
[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)
commitb7fe4a60f3a5a428832bf5dd9388e80f0d02fc2e
treee378263252c78af899e8db3f98a0e2cc6486a265
parent3dda4e373c7474cfe280f4270b70c1563f92a2a7
[PATCH] Driver core: class_device_add needs error checks

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>
drivers/base/class.c