]> err.no Git - linux-2.6/commit
driver core fixes: make_class_name() retval checks
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 27 Nov 2006 09:35:05 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:12 +0000 (10:37 -0800)
commitcb360bbf6352712310a7528137919c626a782744
treec1dc84eb9b026c61256914e26624a5879c0f9951
parent270a6c4cad809e92d7b81adde92d0b3d94eeb8ee
driver core fixes: make_class_name() retval checks

Make make_class_name() return NULL on error and fixup callers in the
driver core.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
drivers/base/core.c