• Greg Kroah-Hartman's avatar
    kobject: properly initialize ksets · a4573c48
    Greg Kroah-Hartman authored
    kset_initialize was calling kobject_init_internal() which didn't
    initialize the kobject as well as kobject_init() was.  So have
    kobject_init() call kobject_init_internal() and move the logic to
    initalize the kobject there.
    
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Cc: Hannes Reinecke <hare@suse.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    a4573c48
kobject.c 20.6 KB