]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Fix incorrect type in assignment and uninitialized symbol
authormark-yw.chen <mark-yw.chen@mediatek.com>
Tue, 23 Feb 2021 06:27:40 +0000 (14:27 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 26 Feb 2021 20:17:43 +0000 (21:17 +0100)
commita5b204a9fd198a81a0d360cf671c6197de581af1
tree68c54acba1e80cac3ab18165ce8f2433f9d4d74b
parent2719f770a1e6507771ff997e39db624009a93290
Bluetooth: btusb: Fix incorrect type in assignment and uninitialized symbol

Warnings: drivers/bluetooth/btusb.c:3775 btusb_mtk_setup() error:
uninitialized symbol 'fw_version'.
-> add initial value for fw_version.

Warnings: sparse: sparse: incorrect type in assignment (different base
types)
-> add le32_to_cpu to fix incorrect type in assignment.

Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c