Re: [PATCH] Bluetooth: hci_sync: Fix opcode format in debug message

From: Luiz Augusto von Dentz
Date: Tue Jul 26 2022 - 14:58:20 EST


Hi Ismael,

On Sun, Jul 24, 2022 at 2:26 PM Ismael Luceno <ismael@xxxxxxxxxxx> wrote:

Add some description, perhaps the debug output before and after the changes.

> Signed-off-by: Ismael Luceno <ismael@xxxxxxxxxxx>
> ---
> net/bluetooth/hci_sync.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
> index 351c2390164d..d86d819465e8 100644
> --- a/net/bluetooth/hci_sync.c
> +++ b/net/bluetooth/hci_sync.c
> @@ -150,7 +150,7 @@
> struct sk_buff *skb;
> int err = 0;
>
> - bt_dev_dbg(hdev, "Opcode 0x%4x", opcode);
> + bt_dev_dbg(hdev, "Opcode 0x%04x", opcode);
>
> hci_req_init(&req, hdev);
>
> --
> 2.36.0
>


--
Luiz Augusto von Dentz