Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: fc637a8 ("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]
- Loading branch information