Skip to content
Snippets Groups Projects
Commit 9227c47b authored by Dave Young's avatar Dave Young Committed by Greg Kroah-Hartman
Browse files

driver-core: make sysdev_class_register check kobject_set_name return value


sysdev_class_register should check the kobject_set_name return value.

Add the return value checking code.

Signed-off-by: default avatarDave Young <hidave.darkstar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d9cd8f37
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment