From: khalasa@piap.pl (Krzysztof Hałasa)
To: Arnd Bergmann <arnd@arndb.de>
Cc: Paul Walmsley <paul@pwsan.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Rajendra Nayak <rnayak@codeaurora.org>,
Scott Branden <sbranden@broadcom.com>,
Nicolas Pitre <nico@linaro.org>, Tony Lindgren <tony@atomide.com>,
Ray Jui <rjui@broadcom.com>,
linux-kernel@vger.kernel.org,
Russell King <linux@armlinux.org.uk>,
linux-omap@vger.kernel.org, arm@kernel.org,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Viresh Kumar <vireshk@kernel.org>,
Olof Johansson <olof@lixom.net>,
bcm-kernel-feedback-list@broadcom.com,
Wenyou Yang <wenyou.yang@atmel.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: remove duplicate 'const' annotations'
Date: Fri, 12 May 2017 06:42:21 +0200 [thread overview]
Message-ID: <m3vap6hej6.fsf@t19.piap.pl> (raw)
In-Reply-To: <20170511115059.2997141-1-arnd@arndb.de> (Arnd Bergmann's message of "Thu, 11 May 2017 13:50:16 +0200")
Arnd Bergmann <arnd@arndb.de> writes:
> gcc-7 warns about some declarations that are more 'const' than necessary:
> --- a/arch/arm/mach-cns3xxx/core.c
> +++ b/arch/arm/mach-cns3xxx/core.c
> @@ -346,7 +346,7 @@ static struct usb_ohci_pdata cns3xxx_usb_ohci_pdata = {
> .power_off = csn3xxx_usb_power_off,
> };
>
> -static const struct of_dev_auxdata const cns3xxx_auxdata[] __initconst = {
> +static const struct of_dev_auxdata cns3xxx_auxdata[] __initconst = {
> { "intel,usb-ehci", CNS3XXX_USB_BASE, "ehci-platform", &cns3xxx_usb_ehci_pdata },
> { "intel,usb-ohci", CNS3XXX_USB_OHCI_BASE, "ohci-platform", &cns3xxx_usb_ohci_pdata },
> { "cavium,cns3420-ahci", CNS3XXX_SATA2_BASE, "ahci", NULL },
Acked-by: Krzysztof Hałasa <khalasa@piap.pl>
--
Krzysztof Halasa
Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2017-05-12 4:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 11:50 [PATCH] ARM: remove duplicate 'const' annotations' Arnd Bergmann
2017-05-11 11:58 ` Alexandre Belloni
2017-05-11 14:44 ` Tony Lindgren
2017-05-11 15:07 ` Nicolas Pitre
2017-05-11 17:20 ` Florian Fainelli
2017-05-12 4:24 ` Viresh Kumar
2017-05-12 4:42 ` Krzysztof Hałasa [this message]
2017-05-19 8:14 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vap6hej6.fsf@t19.piap.pl \
--to=khalasa@piap.pl \
--cc=alexandre.belloni@free-electrons.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=f.fainelli@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=nico@linaro.org \
--cc=olof@lixom.net \
--cc=paul@pwsan.com \
--cc=rjui@broadcom.com \
--cc=rnayak@codeaurora.org \
--cc=sbranden@broadcom.com \
--cc=tony@atomide.com \
--cc=vireshk@kernel.org \
--cc=wenyou.yang@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox