diff options
author | Ping-Ke Shih <[email protected]> | 2023-05-08 16:55:39 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-05-15 21:16:19 +0300 |
commit | 8e4942db5f5ed7b7d9690d93235b3ca49c5c59ce (patch) | |
tree | 3ce3f9bc7fbc1750ce7baf46db3123d2c8819b6b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bcafcb959a57a6890e900199690c5fc47da1a304 (diff) |
wifi: rtw88: correct qsel_to_ep[] type as int
qsel_to_ep[] can be assigned negative value, so change type from 'u8' to
'int'. Otherwise, Smatch static checker warns:
drivers/net/wireless/realtek/rtw88/usb.c:219 rtw_usb_parse() warn:
assigning (-22) to unsigned variable 'rtwusb->qsel_to_ep[8]'
Cc: [email protected]
Fixes: a6f187f92bcc ("wifi: rtw88: usb: fix priority queue to endpoint mapping")
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/linux-wireless/[email protected]/
Cc: Sascha Hauer <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Acked-by: Sascha Hauer <[email protected]>
Tested-by: Larry Finger <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions