diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2022-07-27 14:52:32 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-08-09 08:48:59 +0300 |
commit | dcbf179cbc18f66976740d28fbcfab75be514d16 (patch) | |
tree | 4ee45ec9cc4ade41ee976cc2899b20d50d0a8e32 /lib/test_module.c | |
parent | 86331c7e0cd819bf0c1d0dcf895e0c90b0aa9a6f (diff) | |
download | linux-dcbf179cbc18f66976740d28fbcfab75be514d16.tar.gz linux-dcbf179cbc18f66976740d28fbcfab75be514d16.tar.bz2 linux-dcbf179cbc18f66976740d28fbcfab75be514d16.zip |
wifi: rtw88: access chip_info by const pointer
Since chip_info has became const table, we must access them via const
pointer to avoid invalid writing.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220727065232.28510-1-pkshih@realtek.com
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions