diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-01-08 23:46:50 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2021-03-31 07:02:46 +0900 |
commit | 0dae52282a5eede01339480f7273a545ca4447c2 (patch) | |
tree | ac8e16492b6c60aedb16123fdc1ba63331f8c7cb /crypto | |
parent | a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 (diff) |
9p: Constify static struct v9fs_attr_group
The only usage of v9fs_attr_group is to pass its address to
sysfs_create_group() and sysfs_create_group(), both which takes pointers
to const struct attribute_group. Make it const to allow the compiler to
put it in read-only memory.
Link: http://lkml.kernel.org/r/20210108224650.25872-1-rikard.falkeborn@gmail.com
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions