Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5775854pxv; Wed, 7 Jul 2021 11:27:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLkbQeEux6QNZ9i0Tn5SyGA0SzEFBMWgQmJzUKoy27Iyter+fhWJj1VwPOnCxhkU+CSFVx X-Received: by 2002:a05:6402:b48:: with SMTP id bx8mr17381424edb.255.1625682456593; Wed, 07 Jul 2021 11:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625682456; cv=none; d=google.com; s=arc-20160816; b=Bz3tIba7GJWYPq5bE623bPoml1YL1wryNoJmmlO9NtMJiah0WzMEgTOb6/jtAbvx1m iSeoc8xuOjG/D2Yp+/u2Gi2Dj2dJQyW5lmFwyVPQKKUa4Rw9O2HNvF63x5Tm+ITQFugY Biq3N0lXsfQ0haQ50JPihuYZokgqiOqdgj3rgdzQm169LqAjTx8g161+Nl8tHxLYifU9 pWCDmK0g894Nt4iBQUwzPz7niMEeCLei5B5Ur55n/qZvmYLacdZE3wDQUtVekUbCfK76 IkyvQyI8tHIE9gOtRAqUkrqajhhORdC4bHjJpxKDAXUpmgTTOrIZlOr6edD3spV80g5K Vh5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=oJ1cpRSORHJ6ax4YK6/0iUlBctStb8jzHs9sf3gxeAg=; b=OTfJrjZE6PeOTZRftgdrBn/gdr4PWQMCqom0gn0fZ0cSXxQFpOc+PArYMpQ1R+TwOU Aqfy8OeY5IvlSH7OeZ3ErmI8KO9Vmx4hygB1TtR6oBU4VDSjgtmxq6zrNoMD3z+M1f2x l28D5Og/FiBbBXD02KS4Oy0u1wU9Pae+7ieZBz8Rp6UHtD0cKnzvmw0r2wwZWMFkQr88 LNxvlPuMqRGa3Y4qZ25K/4CeaxjdzehJi+giV48QXe13EApekgzbCwdbLoVPu1aWeFoF 8jw2rGhDCEL8qgyM7yhrpxNhVPVZSkrl3AH0oDQz3WcZUHSk9vWxKg1555FLtRsVL4t3 Ycow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si4702895edu.410.2021.07.07.11.27.13; Wed, 07 Jul 2021 11:27:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbhGGS10 (ORCPT + 99 others); Wed, 7 Jul 2021 14:27:26 -0400 Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:59170 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbhGGS1Z (ORCPT ); Wed, 7 Jul 2021 14:27:25 -0400 Received: from [192.168.1.18] ([86.243.172.93]) by mwinf5d07 with ME id SJQh2500Q21Fzsu03JQiZT; Wed, 07 Jul 2021 20:24:43 +0200 X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 07 Jul 2021 20:24:43 +0200 X-ME-IP: 86.243.172.93 Subject: Re: [PATCH 3/3] PCI: tegra: make const array err_msg static To: =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= Cc: thierry.reding@gmail.com, lorenzo.pieralisi@arm.com, robh@kernel.org, bhelgaas@google.com, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <55b11e9a7fa2987fbc0869d68ae59888954d65e2.1620148539.git.christophe.jaillet@wanadoo.fr> <5f3f35296b944b94546cc7d1e9cc6186484620d8.1620148539.git.christophe.jaillet@wanadoo.fr> <20210705223152.GA142312@rocinante> From: Christophe JAILLET Message-ID: Date: Wed, 7 Jul 2021 20:24:41 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210705223152.GA142312@rocinante> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 06/07/2021 à 00:31, Krzysztof Wilczyński a écrit : > Hi Christophe, > > Thank you for sending the patches over and taking care about these! > > I was wondering whether you will be willing to send a v2 of this series > that would include fixes to everything the checkpatch.pl script reports > against this driver? There aren't a lot of things to fix, thus the idea > to squash everything at once. These warnings would be as follows > (excluding the ones you taken care of in this series): > > drivers/pci/controller/pci-tegra.c:1661: WARNING: please, no space before tabs > drivers/pci/controller/pci-tegra.c:1890: WARNING: quoted string split across lines > drivers/pci/controller/pci-tegra.c:1891: WARNING: quoted string split across lines > drivers/pci/controller/pci-tegra.c:2619: WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. > > These should be trivial to fix. The two pertaining to "quoted string > split across lines" would be something that we might or might not decide > to do anything about this - technically, as per the Linux kernel coding > style [1], we ought to fix this... but, this particular case is not > a terrible example, so I will leave this at your discretion. > > What do you think? Hi, I don't think it worth it. Even for patch 2/3 about 'seq_printf' --> 'seq_puts' conversion, I'm not fully convinced myself that is useful. Too trivial clean-ups only mess-up 'git blame' for no real added value. If you want these clean-ups, I can send a patch for it, but checkpatch output need sometimes to be ignored on files already in the tree. At least, this is my point of view. CJ > Also, don't worry if you don't have the time or otherwise, as these are > trivial things and it would only be a bonus to take care of them. > > 1. https://www.kernel.org/doc/html/v4.10/process/coding-style.html#breaking-long-lines-and-strings > > Krzysztof >