Commit 76649dae authored by Min-Hua Chen's avatar Min-Hua Chen Committed by Greg Kroah-Hartman
Browse files

Bluetooth: btqca: use le32_to_cpu for ver.soc_id



[ Upstream commit 8153b738 ]

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: default avatarMin-Hua Chen <minhuadotchen@gmail.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: cda0d6a1 ("Bluetooth: qca: fix info leak when fetching fw build id")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 852a311d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment