]> 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)
commitd4e62527bc6e9cae1c33f01f8df4b5f816933b1b
treeae93dcb4df99dc3d797c3af1b89aef75299d0c29
parentb43034c16d471c791dd0a6dc2b596d83fa530f5a
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