From: Bartosz Golaszewski Date: Wed, 2 May 2018 09:56:59 +0000 (+0200) Subject: remoteproc/davinci: use octal permissions for module_param() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=24ff14172fc3fe6aba4c2d329fa093fe92818373;p=linux.git remoteproc/davinci: use octal permissions for module_param() Checkpatch recommends to use octal perms instead of S_IRUGO. Signed-off-by: Bartosz Golaszewski Reviewed-by: Sekhar Nori Acked-by: Suman Anna Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index f134192922e08..b668e32996e21 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c @@ -25,7 +25,7 @@ #include "remoteproc_internal.h" static char *da8xx_fw_name; -module_param(da8xx_fw_name, charp, S_IRUGO); +module_param(da8xx_fw_name, charp, 0444); MODULE_PARM_DESC(da8xx_fw_name, "Name of DSP firmware file in /lib/firmware (if not specified defaults to 'rproc-dsp-fw')");