commit | c171fef5c8566cf5f57877e7832fa696ecdf5228 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jan 20 14:08:59 2006 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Feb 06 12:17:17 2006 -0800 |
tree | c599efed9172ce2f31835d4df01936063fad3a77 | |
parent | e3f749c4af69c4344d89f11e2293e3790eb4eaca [diff] |
[PATCH] kobject_add() must have a valid name in order to succeed. So we might as well check to verify this, and let the user know that something is wrong if they didn't do it correctly, instead of oopsing later on in kobject_get_name() or somewhere else. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>