[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210111142326.GM968855@lahna.fi.intel.com>
Date: Mon, 11 Jan 2021 16:23:26 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: Andreas Noever <andreas.noever@...il.com>,
Michael Jamet <michael.jamet@...el.com>,
Yehezkel Bernat <YehezkelShB@...il.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] thunderbolt: Constify static attribute_group structs
On Sat, Jan 09, 2021 at 12:09:19AM +0100, Rikard Falkeborn wrote:
> The only usage of these is to put their addresses in arrays of pointers
> to const attribute_groups. Make them const to allow the compiler to put
> them in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
Applied to thunderbolt.git/next, thanks!
Powered by blists - more mailing lists