From patchwork Fri Mar 30 15:28:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10317875 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 7FC596055B for ; Fri, 30 Mar 2018 15:30:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 704C62A5C0 for ; Fri, 30 Mar 2018 15:30:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 651142A5F4; Fri, 30 Mar 2018 15:30:35 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 106982A5B1 for ; Fri, 30 Mar 2018 15:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751779AbeC3PaJ (ORCPT ); Fri, 30 Mar 2018 11:30:09 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:56121 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752163AbeC3P3J (ORCPT ); Fri, 30 Mar 2018 11:29:09 -0400 Received: by mail-wm0-f68.google.com with SMTP id b127so15318732wmf.5 for ; Fri, 30 Mar 2018 08:29:08 -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=k7KuuCbujyJa6ogzQcZT3ei8DGJPyRQEH6dL/utG+9c=; b=Ofoqaa1IYRzMyVLKfypmeq6u7xbA1eULTuBJfOIRa5+lQZyZVYCcsL3KK6BijyVCoC r/iMTiqWZNjmKwzTAYZ6/yJLRl7MGi0TJx2VLX5hsfA0TlnWmdm9DaxwLLKQNDgDEZQa ad0X0oy6zBv+S+tDQrxqSQDNMzOxsUHgQD9RxSqG7wshXcQZ0Ov3rEhSTSuFJ3VjnmOO KpjBCTlJJfBjWOZ+WwCV9v3kcnbKY36ColDaUIqf2xJpdI9JQ2PiE/3h4Vs2cxltlLbz uiN360n3ENEvMw2VPmbqeXFw8reEeMVXNtj+XHtGRWpE1T2DUQzZn1123Ck5iFFj7CZy VsHg== 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=k7KuuCbujyJa6ogzQcZT3ei8DGJPyRQEH6dL/utG+9c=; b=FcaHgdKYN9yUW2vdKd7ECbD+9PwWC+6u82KjiUAodCHcD7qORmKXW2VTfjUMnlpnCw 79HXXjV1uUVra8g7W5qWliuQpy4m72nl1tnaDO0hLwsB7GN1eVAyqmBTpGd6edxL6LSa U60B351ekF7R45sKHT3uBYJveThn0Dk5FZBou2eBlP20qP/vG9tC6FG915dI3F4wIwXG smQ4WKRzxrEgB3PCHTT2QaikbGaSRKcthO3Y2mMpdvpa4g7tkSzY3XZDCGrA3SoHdu07 Cd+ki9XSeLnKZ9Yh0GmejV+h5+vf7eYN5qTizYrceNlcOhbVivMQ767vnqoYO1CJzxsk zsoA== X-Gm-Message-State: AElRT7EroIhs5WFl8GWe2Zpx8tzxw4Gk7/YmJt0/QhHzjH0XnWn7HrOU tVg5GwgP1OoNR48hE+Pszn3MeA== X-Google-Smtp-Source: AIpwx48lkFU0fY80J3JTAHiZ5XRv6uLCuvmMQw8f5UP7DWp3Nu81YLASlYQwh/po3a90No+aeQsqUA== X-Received: by 10.28.37.70 with SMTP id l67mr2568136wml.51.1522423748129; Fri, 30 Mar 2018 08:29:08 -0700 (PDT) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id n49sm14429881wrn.90.2018.03.30.08.29.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Mar 2018 08:29:07 -0700 (PDT) From: Bartosz Golaszewski To: 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 Subject: [PATCH v5 6/8] remoteproc/davinci: use octal permissions for module_param() Date: Fri, 30 Mar 2018 17:28:54 +0200 Message-Id: <20180330152856.12297-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180330152856.12297-1-brgl@bgdev.pl> References: <20180330152856.12297-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 --- 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')");