Эх сурвалжийг харах

drivers/fmc/fmc-write-eeprom.c: fix decimal permissions

This 444 should have been octal.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Joe Perches 11 жил өмнө
parent
commit
01412886b7

+ 1 - 1
drivers/fmc/fmc-write-eeprom.c

@@ -27,7 +27,7 @@ FMC_PARAM_BUSID(fwe_drv);
 /* The "file=" is like the generic "gateware=" used elsewhere */
 /* The "file=" is like the generic "gateware=" used elsewhere */
 static char *fwe_file[FMC_MAX_CARDS];
 static char *fwe_file[FMC_MAX_CARDS];
 static int fwe_file_n;
 static int fwe_file_n;
-module_param_array_named(file, fwe_file, charp, &fwe_file_n, 444);
+module_param_array_named(file, fwe_file, charp, &fwe_file_n, 0444);
 
 
 static int fwe_run_tlv(struct fmc_device *fmc, const struct firmware *fw,
 static int fwe_run_tlv(struct fmc_device *fmc, const struct firmware *fw,
 	int write)
 	int write)