diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-03-17 10:57:40 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-03-18 17:12:08 +0100 |
commit | a76d269a4e86cfd7d4441e40adccfa67808fe6fa (patch) | |
tree | 620c01566e0c28d5db5bba1cc97df90666f92b57 /mm/page_reporting.c | |
parent | 9fa6b4cda3b414e990f008f45f9bcecbcb54d4d1 (diff) | |
download | linux-a76d269a4e86cfd7d4441e40adccfa67808fe6fa.tar.gz linux-a76d269a4e86cfd7d4441e40adccfa67808fe6fa.tar.bz2 linux-a76d269a4e86cfd7d4441e40adccfa67808fe6fa.zip |
Bluetooth: btmtkuart: fix error handling in mtk_hci_wmt_sync()
This code has an uninitialized variable warning:
drivers/bluetooth/btmtkuart.c:184 mtk_hci_wmt_sync()
error: uninitialized symbol 'wc'.
But it also has error paths which have memory leaks.
Fixes: 8f550f55b155 ("Bluetooth: btmtkuart: rely on BT_MTK module")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'mm/page_reporting.c')
0 files changed, 0 insertions, 0 deletions