[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY-7bCC5-yGQB+vhLX7ZRB4irH_3u7KcfKmN0QiiXpHwA@mail.gmail.com>
Date: Fri, 4 Dec 2020 09:07:00 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Cristian Ciocaltea <cristian.ciocaltea@...il.com>
Cc: Andreas Färber <afaerber@...e.de>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-actions@...ts.infradead.org
Subject: Re: [PATCH 1/1] pinctrl: actions: pinctrl-s500: Constify s500_padinfo[]
On Wed, Nov 18, 2020 at 7:10 PM Cristian Ciocaltea
<cristian.ciocaltea@...il.com> wrote:
> s500_padinfo[] is never modified and should be made 'const' to allow
> the compiler to optimize code generation, i.e. put it in the text
> section instead of the data section.
>
> Before:
> text data bss dec hex filename
> 12503 5088 0 17591 44b7 drivers/pinctrl/actions/pinctrl-s500.o
>
> After:
> text data bss dec hex filename
> 14435 3156 0 17591 44b7 drivers/pinctrl/actions/pinctrl-s500.o
>
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@...il.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists