diff options
author | Christophe JAILLET <[email protected]> | 2024-06-02 16:18:52 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-06-05 10:24:57 +0100 |
commit | 82dc29b9737edf2d13561ebcf6212c0b88c41129 (patch) | |
tree | d78af5874e5b141074df5bca02794b797b347f32 /tools/perf/scripts/python/parallel-perf.py | |
parent | 61578f67937881abf54c8bd258eb913312dbe4c1 (diff) |
devlink: Constify the 'table_ops' parameter of devl_dpipe_table_register()
"struct devlink_dpipe_table_ops" only contains some function pointers.
Update "struct devlink_dpipe_table" and the 'table_ops' parameter of
devl_dpipe_table_register() so that structures in drivers can be
constified.
Constifying these structures will move some data to a read-only section, so
increase overall security.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions