diff options
| author | Evgenii Burenchev <evg28bur@yandex.ru> | 2026-06-25 14:48:31 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-29 17:45:19 -0700 |
| commit | ba7ad852e1ae934adf506e1e854910a7ab52aa3f (patch) | |
| tree | 0ec17cc92c8c77d1f30d011dadc30b943c813908 /tools/perf/scripts/python/flamegraph.py | |
| parent | 805185b7c7a1069e407b6f7b3bc98e44d415f484 (diff) | |
mlxsw: spectrum_acl_erp: Fix const qualifier of delta_clear()
mlxsw_sp_acl_erp_delta_clear() takes 'const char *enc_key' but modifies
the memory it points to. This is a logical error in the function
declaration.
The only caller passes a non-const buffer (aentry->ht_key.enc_key), so
the const qualifier is misleading and unnecessary.
Remove const from the enc_key parameter to match the actual usage.
Signed-off-by: Evgenii Burenchev <evg28bur@yandex.ru>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20260625114831.17386-1-evg28bur@yandex.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
