[PATCH 04/10] kobject: kobj->k_name verification fix

2007-02-16 Thread Greg Kroah-Hartman
From: Martin Stoilov <[EMAIL PROTECTED]> The function 'kobject_add' tries to verify the name of a new kobject instance is properly set before continuing. if (!kobj->k_name) kobj->k_name = kobj->name; if (!kobj->k_name) { pr_debug("kobject attempted to be registered with no

[PATCH 04/10] kobject: kobj-k_name verification fix

2007-02-16 Thread Greg Kroah-Hartman
From: Martin Stoilov [EMAIL PROTECTED] The function 'kobject_add' tries to verify the name of a new kobject instance is properly set before continuing. if (!kobj-k_name) kobj-k_name = kobj-name; if (!kobj-k_name) { pr_debug(kobject attempted to be registered with no