]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: xgifb: vgatypes: Replace decimal permissions with 4 digit octal
authorShiva Kerdel <shiva@exdev.nl>
Tue, 8 Nov 2016 16:14:27 +0000 (17:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 12:55:03 +0000 (13:55 +0100)
Replaced decimal permissions with 4 digit octal to solve checkpatch errors.

Signed-off-by: Shiva Kerdel <shiva@exdev.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c

index 89bd4dd6e8a595b30108d8cd6266e70ca90d6667..982f90f79e3e16a2427a86b860b492052cc0e38a 100644 (file)
@@ -2058,19 +2058,19 @@ static struct pci_driver xgifb_driver = {
 /*                      MODULE                       */
 /*****************************************************/
 
-module_param(mode, charp, 0);
+module_param(mode, charp, 0000);
 MODULE_PARM_DESC(mode,
        "Selects the desired default display mode in the format XxYxDepth (eg. 1024x768x16).");
 
-module_param(forcecrt2type, charp, 0);
+module_param(forcecrt2type, charp, 0000);
 MODULE_PARM_DESC(forcecrt2type,
        "Force the second display output type. Possible values are NONE, LCD, TV, VGA, SVIDEO or COMPOSITE.");
 
-module_param(vesa, int, 0);
+module_param(vesa, int, 0000);
 MODULE_PARM_DESC(vesa,
        "Selects the desired default display mode by VESA mode number (eg. 0x117).");
 
-module_param(filter, int, 0);
+module_param(filter, int, 0000);
 MODULE_PARM_DESC(filter,
        "Selects TV flicker filter type (only for systems with a SiS301 video bridge). Possible values 0-7. Default: [no filter]).");