From patchwork Wed May 2 09:56:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10375319 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 466C160384 for ; Wed, 2 May 2018 09:57:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 370952852A for ; Wed, 2 May 2018 09:57:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BAC22870E; Wed, 2 May 2018 09:57:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7C482852A for ; Wed, 2 May 2018 09:57:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751025AbeEBJ5R (ORCPT ); Wed, 2 May 2018 05:57:17 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42523 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbeEBJ5N (ORCPT ); Wed, 2 May 2018 05:57:13 -0400 Received: by mail-wr0-f194.google.com with SMTP id v5-v6so13328042wrf.9 for ; Wed, 02 May 2018 02:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Kwt8DLwOXslczc5TveTlORQ9EB7X+2LoBWMeb+ZZyF8=; b=ZhwMXqL1D/62lcoF8zPzp6jzaeO8azZvXHdzf+KvKa839E8Yryy4GNl8RQW6ADFoLl ZNWgszlBgEOsY6HLDHH4pqRZHc03s3pSr9DxpMOFb4yLUj0aNhoi9wn6dslgozZuyTcc rKh+c7DTv7kpXhGlxvvpEv9N/RnYXfu/5TtQS+9dKHC/sLiHvLbKBNy3th9DwBEknVcD y0Sq9XOlWuIvikLOIYWsXtUVRVUFLe5ATZYb3nLrTo/C3DIfjun4mk1iuoQuA1GmSk63 qppfzhCFQdZoUUTksi2CfBEsXtcFQtEVfA01wAhuAY3s//LImmFU9A86vK65n69N8NNH pi9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Kwt8DLwOXslczc5TveTlORQ9EB7X+2LoBWMeb+ZZyF8=; b=mhys1+I0CXU/dxKDgk1NRlGR2SMC/HhGzMqHNYjmo+o74uINLTO6FacFnrAvAaSGJF xBfeONgxbJUyX0L1KaNdcwHzxk8m/SF5/s7Z+XxRCud5Xa2wkmhlCDppDrNOYr50QQDo xQfOpfWoNhwQwb1flhAfscHgXWZYW3XCzgd4suz2wT8qyCt+by9U1CNDXH2QCL/m/V47 v0JTG/RYu6nOblmgGCs05fIaTHSBKuTGQgh4z/oWOvUvDpaWsi6Oua3Fm3L6ygVffPJL kK0l60VpocMfQ7cVRtPpCurRLAX1klHwQWV4Fm4BE1vAXOnnOHglvIWi5JHfouYzhJVe ECzw== X-Gm-Message-State: ALQs6tDGjjIaofAszKBI07MfXvfIXvTFd2tnDBmq0IQm7A5yOYRKgrqk yry/ay/ChUFLzh2uTlm4PWTf2g== X-Google-Smtp-Source: AB8JxZp7l3fOUHN9KtaTfYMY7Wb0IxWlcLHK/+HkfY6h81TlTrLYVOpQAGfH6e+igP/fY0fBzgfKlA== X-Received: by 2002:adf:9306:: with SMTP id 6-v6mr9338644wro.175.1525255032464; Wed, 02 May 2018 02:57:12 -0700 (PDT) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 2-v6sm13722861wrb.22.2018.05.02.02.57.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 May 2018 02:57:11 -0700 (PDT) From: Bartosz Golaszewski To: Ohad Ben-Cohen , Bjorn Andersson , Sekhar Nori , David Lechner , Suman Anna , Aparna Balasubramanian , Kevin Hilman Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 3/3] remoteproc/davinci: use octal permissions for module_param() Date: Wed, 2 May 2018 11:56:59 +0200 Message-Id: <20180502095659.3626-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180502095659.3626-1-brgl@bgdev.pl> References: <20180502095659.3626-1-brgl@bgdev.pl> Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski Checkpatch recommends to use octal perms instead of S_IRUGO. Signed-off-by: Bartosz Golaszewski Reviewed-by: Sekhar Nori 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')");