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>
This commit is contained in:
parent
4efdb37025
commit
4b4462ecd0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue