aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-01-12 14:24:49 +0100
committerLuca Coelho <[email protected]>2021-02-10 13:58:15 +0200
commit403ea939ea6a2fc322d93de40a2babd1fe9e6a19 (patch)
tree1993aa8a22c6ae0f370f32813ff1e19a4690e6d1 /tools/perf/scripts/python/check-perf-trace.py
parent410f758529bc227b186ba0846bcc75ac0700ffb2 (diff)
iwlwifi: dbg: Mark ucode tlv data as const
The ucode TLV data may be read-only and should be treated as const pointers, but currently a few code forcibly cast to the writable pointer unnecessarily. This gave developers a wrong impression as if it can be modified, resulting in crashing regressions already a couple of times. This patch adds the const prefix to those cast pointers, so that such attempt can be caught more easily in future. Signed-off-by: Takashi Iwai <[email protected]> Acked-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions