]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: btqca: use le32_to_cpu for ver.soc_id
authorMin-Hua Chen <minhuadotchen@gmail.com>
Fri, 19 May 2023 10:43:23 +0000 (18:43 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Jun 2023 17:48:35 +0000 (10:48 -0700)
commit8153b738bc547878a017889d2b1cf8dd2de0e0c6
treee99c67ccd8785db55b5bc810a0c8dc1519b48389
parent022b6101c28a33fa8073b284423b88dc46b03d87
Bluetooth: btqca: use le32_to_cpu for ver.soc_id

Use le32_to_cpu for ver.soc_id to fix the following
sparse warning.

drivers/bluetooth/btqca.c:640:24: sparse: warning: restricted
__le32 degrades to integer

Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/bluetooth/btqca.c