diff options
| author | Rikard Falkeborn <[email protected]> | 2020-10-01 00:40:04 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-10-01 20:44:52 -0300 |
| commit | 3c4e919b48f65860462f7cb94f2954a9a3fffbc4 (patch) | |
| tree | 67bd9138b018512137105804c4df006bea5f8796 /scripts/generate_rust_target.rs | |
| parent | 42d5179c892e2d543fd25bdfbea98151189026ea (diff) | |
RDMA/rtrs: Constify static struct attribute_group
The only usage of these is to pass their address to sysfs_create_group()
and sysfs_remove_group(), both which takes const pointers. Make it const
to allow the compiler to put them in read-only memory.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rikard Falkeborn <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions