• Robert Love's avatar
    [PATCH] kobject_uevent: fix init ordering · 7371f3e1
    Robert Love authored
    Looks like kobject_uevent_init is executed before netlink_proto_init and
    consequently always fails.  Not cool.
    
    Attached patch switches the initialization over from core_initcall (init
    level 1) to postcore_initcall (init level 2).  Netlink's initialization
    is done in core_initcall, so this should fix the problem.  We should be
    fine waiting until postcore_initcall.
    
    Also a couple white space changes mixed in, because I am anal.
    Signed-Off-By: default avatarRobert Love <rml@novell.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    7371f3e1
kobject_uevent.c 8.71 KB