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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux