aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2020-08-21 14:17:16 -0700
committerKalle Valo <[email protected]>2020-08-27 13:04:16 +0300
commit22b726cbdd09d9891ede8aa122a950d2d0ae5e09 (patch)
tree75223590b2daf8ddd6cdd937ac705b617867ee93 /tools/perf/scripts/python
parent5466aff85aacf1aad6d0e056c136ea7798076b2b (diff)
rtw88: don't treat NULL pointer as an array
I'm not a standards expert, but this really looks to be undefined behavior, when chip->dig_cck may be NULL. (And, we're trying to do a NULL check a few lines down, because some chip variants will use NULL.) Fixes: fc637a860a82 ("rtw88: 8723d: Set IG register for CCK rate") Signed-off-by: Brian Norris <[email protected]> Acked-by: Yan-Hsuan Chuang <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions