[PATCH 1/1] Bluetooth: btusb: Fix incorrect type in assignment and uninitialized symbol

Marcel Holtmann marcel at holtmann.org
Fri Feb 26 20:18:35 GMT 2021


Hi Mark,

> 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 at mediatek.com>
> ---
> drivers/bluetooth/btusb.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel




More information about the Linux-mediatek mailing list