[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180502095659.3626-4-brgl@bgdev.pl>
Date: Wed, 2 May 2018 11:56:59 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Ohad Ben-Cohen <ohad@...ery.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Sekhar Nori <nsekhar@...com>,
David Lechner <david@...hnology.com>,
Suman Anna <s-anna@...com>,
Aparna Balasubramanian <aparnab@...com>,
Kevin Hilman <khilman@...nel.org>
Cc: linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: [PATCH 3/3] remoteproc/davinci: use octal permissions for module_param()
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
Checkpatch recommends to use octal perms instead of S_IRUGO.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
Reviewed-by: Sekhar Nori <nsekhar@...com>
Acked-by: Suman Anna <s-anna@...com>
---
drivers/remoteproc/da8xx_remoteproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c
index f134192922e0..b668e32996e2 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')");
--
2.17.0
Powered by blists - more mailing lists