[PATCH] perf/hisi: Constify static attribute_group structs
Will Deacon
will at kernel.org
Tue Jun 8 06:21:54 PDT 2021
On Sun, 6 Jun 2021 00:15:14 +0200, Rikard Falkeborn wrote:
> These are only put in an array of pointers to const attribute_group
> structs. Make them const like the other static attribute_group structs
> to allow the compiler to put them in read-only memory.
Applied to will (for-next/perf), thanks!
[1/1] perf/hisi: Constify static attribute_group structs
https://git.kernel.org/will/c/59d697a99daa
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list