• Pete Zaitcev's avatar
    [PATCH] USB: replace __setup("nousb") with __module_param_call · aafbf24a
    Pete Zaitcev authored
    Fedora users complain that passing "nousbstorage" to the installer causes
    the rest of the USB support to disappear. The installer uses kernel command
    line as a way to pass options through Syslinux. The problem stems from the
    use of strncmp() in obsolete_checksetup().
    
    I used __module_param_call() instead of module_param because I wanted to
    preserve the old syntax in grub.conf, and it's the only macro which allows
    to remove the prefix.
    
    The fix is tested to accept the option "nousb" correctly now.
    Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    aafbf24a
usb.c 35.1 KB