diff options
| author | Brian Norris <[email protected]> | 2020-08-21 14:17:16 -0700 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-08-27 13:04:16 +0300 |
| commit | 22b726cbdd09d9891ede8aa122a950d2d0ae5e09 (patch) | |
| tree | 75223590b2daf8ddd6cdd937ac705b617867ee93 /tools/perf/scripts/python/bin | |
| parent | 5466aff85aacf1aad6d0e056c136ea7798076b2b (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/bin')
0 files changed, 0 insertions, 0 deletions