From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v3 6/8] remoteproc/davinci: use octal permissions for module_param() References: <20180327092031.11251-1-brgl@bgdev.pl> <20180327092031.11251-7-brgl@bgdev.pl> From: Suman Anna Message-ID: <13fa1d05-a3e3-64b5-9be1-5d08d1a708e3@ti.com> Date: Wed, 28 Mar 2018 17:20:50 -0500 MIME-Version: 1.0 In-Reply-To: <20180327092031.11251-7-brgl@bgdev.pl> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , Russell King , David Lechner , Michael Turquette , Stephen Boyd , Ohad Ben-Cohen , Bjorn Andersson , Philipp Zabel Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-remoteproc@vger.kernel.org, Bartosz Golaszewski List-ID: On 03/27/2018 04:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Checkpatch recommends to use octal perms instead of S_IRUGO. > > Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna > --- > 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')"); > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753879AbeC1WWO (ORCPT ); Wed, 28 Mar 2018 18:22:14 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:31405 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753837AbeC1WWL (ORCPT ); Wed, 28 Mar 2018 18:22:11 -0400 Subject: Re: [PATCH v3 6/8] remoteproc/davinci: use octal permissions for module_param() To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , Russell King , David Lechner , Michael Turquette , Stephen Boyd , Ohad Ben-Cohen , Bjorn Andersson , Philipp Zabel CC: , , , , , Bartosz Golaszewski References: <20180327092031.11251-1-brgl@bgdev.pl> <20180327092031.11251-7-brgl@bgdev.pl> From: Suman Anna Message-ID: <13fa1d05-a3e3-64b5-9be1-5d08d1a708e3@ti.com> Date: Wed, 28 Mar 2018 17:20:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180327092031.11251-7-brgl@bgdev.pl> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/27/2018 04:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Checkpatch recommends to use octal perms instead of S_IRUGO. > > Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna > --- > 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')"); > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: s-anna@ti.com (Suman Anna) Date: Wed, 28 Mar 2018 17:20:50 -0500 Subject: [PATCH v3 6/8] remoteproc/davinci: use octal permissions for module_param() In-Reply-To: <20180327092031.11251-7-brgl@bgdev.pl> References: <20180327092031.11251-1-brgl@bgdev.pl> <20180327092031.11251-7-brgl@bgdev.pl> Message-ID: <13fa1d05-a3e3-64b5-9be1-5d08d1a708e3@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/27/2018 04:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Checkpatch recommends to use octal perms instead of S_IRUGO. > > Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna > --- > 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')"); > >