[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190828153926.1d8d9d7b@windsurf.home>
Date: Wed, 28 Aug 2019 15:39:26 +0200
From: Thomas Petazzoni <thomas.petazzoni@...tlin.com>
To: Krzysztof Wilczynski <kw@...ux.com>
Cc: Bjorn Helgaas <helgaas@...nel.org>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] PCI: Move static keyword to the front of
declarations in pci-bridge-emul.c
Hello,
On Wed, 28 Aug 2019 15:17:33 +0200
Krzysztof Wilczynski <kw@...ux.com> wrote:
> Move the static keyword to the front of declarations of
> pci_regs_behavior and pcie_cap_regs_behavior, and resolve
> the following compiler warning that can be seen when
> building with warnings enabled (W=1):
>
> drivers/pci/pci-bridge-emul.c:41:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
> const static struct pci_bridge_reg_behavior pci_regs_behavior[] = {
> ^
> drivers/pci/pci-bridge-emul.c:176:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
> const static struct pci_bridge_reg_behavior pcie_cap_regs_behavior[] = {
> ^
>
> Signed-off-by: Krzysztof Wilczynski <kw@...ux.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@...tlin.com>
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists