[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1390934510.11756.14.camel@joe-AO722>
Date: Tue, 28 Jan 2014 10:41:50 -0800
From: Joe Perches <joe@...ches.com>
To: Alessandro Rubini <rubini@...dd.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] fmc: Fix decimal permissions
This 444 should have been octal.
Signed-off-by: Joe Perches <joe@...ches.com>
---
drivers/fmc/fmc-write-eeprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fmc/fmc-write-eeprom.c b/drivers/fmc/fmc-write-eeprom.c
index 30e451e..1f107fb 100644
--- a/drivers/fmc/fmc-write-eeprom.c
+++ b/drivers/fmc/fmc-write-eeprom.c
@@ -26,7 +26,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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists