diff options
author | Rikard Falkeborn <[email protected]> | 2020-10-01 00:40:03 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-10-01 20:44:51 -0300 |
commit | 42d5179c892e2d543fd25bdfbea98151189026ea (patch) | |
tree | 270d4c42888a3e37a7b860884dd81bc57fef1b60 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a03bfc37d59de316436c46f5691c5a972ed57c82 (diff) |
RDMA/core: Constify struct attribute_group
The only usage of the pma_table field in the ib_port struct is to pass its
address to sysfs_create_group() and sysfs_remove_group(). Make it const to
make it possible to constify a couple of static struct
attribute_group. This allows 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions