From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>,
benh@kernel.crashing.org, mingo@kernel.org
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [v2] macintosh: rack-meter: make of_device_ids const.
Date: Mon, 21 Aug 2017 23:39:07 +1000 (AEST) [thread overview]
Message-ID: <3xbZXq2CBfz9sR8@ozlabs.org> (raw)
In-Reply-To: <7ce0e2734a7e95d3341c7424d124ddfd4bc82034.1497850925.git.arvind.yadav.cs@gmail.com>
On Mon, 2017-06-19 at 05:44:25 UTC, Arvind Yadav wrote:
> of_device_ids are not supposed to change at runtime. All functions
> working with of_device_ids provided by <linux/of.h> work with const
> of_device_ids. So mark the non-const structs as const.
>
> File size before:
> text data bss dec hex filename
> 407 576 0 983 3d7 drivers/macintosh/rack-meter.o
>
> File size after constify rackmeter_match.
> text data bss dec hex filename
> 807 176 0 983 3d7 drivers/macintosh/rack-meter.o
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/516fa8d0e19d854253460ea7692551
cheers
prev parent reply other threads:[~2017-08-21 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-19 5:44 [PATCH v2] macintosh: rack-meter: make of_device_ids const Arvind Yadav
2017-08-21 13:39 ` Michael Ellerman [this message]
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=3xbZXq2CBfz9sR8@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=arvind.yadav.cs@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mingo@kernel.org \
/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