Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH] perf/hisi: Constify static attribute_group structs | Date | Tue, 8 Jun 2021 14:21:54 +0100 |
| |
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
| |