Hi Andrei, > Some functions print opcode as "0xc03" others as "0x0c03". Patch > ensures that opcodes printed are the in the same format. > > Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> > --- > net/bluetooth/hci_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c > index 8f35f2e..c7be1bc 100644 > --- a/net/bluetooth/hci_core.c > +++ b/net/bluetooth/hci_core.c > @@ -2097,7 +2097,7 @@ int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param) > struct hci_command_hdr *hdr; > struct sk_buff *skb; > > - BT_DBG("%s opcode 0x%x plen %d", hdev->name, opcode, plen); > + BT_DBG("%s opcode 0x%04x plen %d", hdev->name, opcode, plen); please use 0x%4.4x to be consistent with our cases. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html