• Mika Kukkonen's avatar
    [PATCH] Upgrade security/root_plug.c to new module parameter syntax · fd205fa2
    Mika Kukkonen authored
    Hi again,
    
    Still doing my compile, and got this:
    
     CC [M]  security/root_plug.o
    security/root_plug.c:39: warning: missing initializer
    security/root_plug.c:39: warning: (near initialization for `__parm_vendor_id.addr')
    security/root_plug.c:42: warning: missing initializer
    security/root_plug.c:42: warning: (near initialization for `__parm_product_id.addr')
    security/root_plug.c:48: warning: missing initializer
    security/root_plug.c:48: warning: (near initialization for `__parm_debug.addr')
    
    Simply upgrading root_plug to use the new module parameter syntax seemed to do
    the trick. I made the debug writable, the others just readable to root.
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    fd205fa2
root_plug.c 3.92 KB