diff options
author | 2022-03-08 10:14:14 +1100 | |
---|---|---|
committer | 2022-03-08 22:15:32 +1100 | |
commit | 6b3a3e12f8e6eea47428bb39aaf58832b50bb379 (patch) | |
tree | 0f38c62d684a4f16fa4cfa0f70dedab6244b2785 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n (diff) | |
download | wireguard-linux-6b3a3e12f8e6eea47428bb39aaf58832b50bb379.tar.xz wireguard-linux-6b3a3e12f8e6eea47428bb39aaf58832b50bb379.zip |
powerpc: declare unmodified attribute_group usages const
Inspired by (bd75b4ef4977: Constify static attribute_group structs),
accepted by linux-next, reported:
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220210202805.7750-4-rikard.falkeborn@gmail.com/
Nearly all singletons of type struct attribute_group are never modified,
and so are candidates for being const. Declare them as const.
Signed-off-by: Rohan McLure <rmclure@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220307231414.86560-1-rmclure@linux.ibm.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions