From patchwork Tue Apr 17 17:30:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10346127 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 0FE5360216 for ; Tue, 17 Apr 2018 17:31:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01B99285C4 for ; Tue, 17 Apr 2018 17:31:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA4B3285C7; Tue, 17 Apr 2018 17:31:05 +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 93CB3285C4 for ; Tue, 17 Apr 2018 17:31:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753021AbeDQRa7 (ORCPT ); Tue, 17 Apr 2018 13:30:59 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:44780 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752961AbeDQRay (ORCPT ); Tue, 17 Apr 2018 13:30:54 -0400 Received: by mail-wr0-f196.google.com with SMTP id o15so6716235wro.11 for ; Tue, 17 Apr 2018 10:30:54 -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=gpr3ONzRGrRuAH1SC6AvTTZ4r440kIoHa84d7AoBKr4=; b=MyTNKZbIbnLz+7WKGHbt8a0zdZX1iOfymhZp2+oOEfvKp9eznXVo3B8y7nHqB/hXlE G+1bBAJ+a/QAg3Pe3vhER7fwRRGtCnLJRaqWYuVlSgL7xt9ALheM5gDiddwtgD94E0S1 fiyYsDujzs9D/ahkJ3FyKHdKjZ6KVcP7wqGl0ygVpfyjxbal2RV/YyK99B9H5DsGVv0t ZrA7+Hd7knDAqIGZoaY5hKKK/1jIlvDhoO1TZuIdhwVghbkG69RwkwD7IWJ0mkbzci82 YmQhlpeTQkOCKr+7BS0fi1b89jqr5c9611sYyvXjt0PE0sfV2ZBLRdax0ZyMxYrKgOSE sMQg== 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=gpr3ONzRGrRuAH1SC6AvTTZ4r440kIoHa84d7AoBKr4=; b=h5jVZL90L6y4kdkokrbnnzUmQhmlgqZCUBMU8rUruhhXIgiwnIC9uvs1eoL2H7gAfe xdYGcEBU0kDD23ZqNpt9NKOpJUhYCRYtUO8NTdtlbLERlkUA4zSapZvyLOX5GiG1TXOK tfGsmJax5L6BGvIVfQkCrAmwEJ5tCZKwcLi33sHlrX86xFhLw+0TDC2FJd5+1nc5ZhHc LoyWk7P1ytXTegSWLqtBtUNeqiLVjI9sbojWJ+KKkcWZlq5OBxezWUzaZN6lcN9BC5MW 9QrhewU85KbvKLl9BoP5m/EGJc6uOq6R7MR+IstP5sBdUR16tvDb+pyn/QVJKy98ySQ4 lbRQ== X-Gm-Message-State: ALQs6tDWlXBzaDsVELFIOexmfpmdGOob8IEFTfpVXuVFV12ciEnLmfUu FlpuVwpKoXy/s+W6oEO9dDfJvQ== X-Google-Smtp-Source: AIpwx49tS/roBk3oLjqKpfKTC7xH8MH522RW86a36k51qMOGAvXDCF7irpq9DrWpke8wSoyZ4FZqtg== X-Received: by 10.223.186.12 with SMTP id o12mr2195380wrg.237.1523986253683; Tue, 17 Apr 2018 10:30:53 -0700 (PDT) Received: from brgl-bgdev.home ([2a01:cb1d:af:5b00:e837:b8d5:48c1:571b]) by smtp.gmail.com with ESMTPSA id b47sm14042341wrg.13.2018.04.17.10.30.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 10:30:52 -0700 (PDT) From: Bartosz Golaszewski To: Suman Anna , 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 v6 5/7] remoteproc/davinci: use octal permissions for module_param() Date: Tue, 17 Apr 2018 19:30:36 +0200 Message-Id: <20180417173038.25510-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417173038.25510-1-brgl@bgdev.pl> References: <20180417173038.25510-1-brgl@bgdev.pl> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@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')");