summaryrefslogtreecommitdiff
path: root/drivers/staging/gs_fpgaboot
diff options
context:
space:
mode:
authorShyam Saini <mayhs11saini@gmail.com>2016-10-17 19:04:46 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 09:40:44 +0200
commit4b4462ecd025b7ec17cb9049707024a3a2915f57 (patch)
tree461c9a12df7223fcb4cf13c57a1ca4bc4b159a4f /drivers/staging/gs_fpgaboot
parent4efdb3702580ffa18fdfcb3e45eb452c049e0d2a (diff)
Staging: gs_fpgaboot: Use octal permissions '0444'
Fixed following checkpatch warning WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Shyam Saini <mayhs11saini@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gs_fpgaboot')
-rw-r--r--drivers/staging/gs_fpgaboot/gs_fpgaboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
index 8ed4d395be58..19b550fff04b 100644
--- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
+++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
@@ -38,7 +38,7 @@ static u8 bits_magic[] = {
static struct platform_device *firmware_pdev;
static char *file = "xlinx_fpga_firmware.bit";
-module_param(file, charp, S_IRUGO);
+module_param(file, charp, 0444);
MODULE_PARM_DESC(file, "Xilinx FPGA firmware file.");
static void read_bitstream(char *bitdata, char *buf, int *offset, int rdsize)