Skip to content

Commit

Permalink
drivers/fmc/fmc-write-eeprom.c: fix decimal permissions
Browse files Browse the repository at this point in the history
This 444 should have been octal.

Signed-off-by: Joe Perches <[email protected]>
Cc: Alessandro Rubini <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoePerches authored and torvalds committed Feb 25, 2014
1 parent ff3a2b7 commit 0141288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/fmc/fmc-write-eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ FMC_PARAM_BUSID(fwe_drv);
/* The "file=" is like the generic "gateware=" used elsewhere */
static char *fwe_file[FMC_MAX_CARDS];
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,
int write)
Expand Down

0 comments on commit 0141288

Please sign in to comment.