]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cw1200: use get_unaligned_le64()
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:11 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 7 Sep 2022 08:03:00 +0000 (11:03 +0300)
commitdd8c2c52951cffba47e76ede48e257dab7e0bea3
treed6bd3f80a274623707c9f634f34981125e29c4ca
parent6e2d7c4614654b8fc94d0781a43b7e67cd5fd042
wifi: cw1200: use get_unaligned_le64()

Instead of the code here that copies into a variable
first and then flips endianness, which confuses sparse,
just directly use get_unaligned_le64().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.a5c9ea122f0f.If786a66f8fd9d45659cd5a2532cf395e21334453@changeid
drivers/net/wireless/st/cw1200/txrx.c