]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mwifiex: fix endian annotations in casts
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:09 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 7 Sep 2022 08:02:59 +0000 (11:02 +0300)
commit34e822c7095efb1a977ae94629b93088bc560397
treeae93dcb4df99dc3d797c3af1b89aef75299d0c29
parent0434d928f665b6447c389702cd158a52f10fc54c
wifi: mwifiex: fix endian annotations in casts

These cause sparse warnings, and since the device generally
works in little endian we can assume the code is correct, so
just fix the casts accordingly. No binary changes on x86.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.3f72609a3825.If4048592701bf04981be1dab18eaaa339b2ea382@changeid
drivers/net/wireless/marvell/mwifiex/usb.c