Re: [PATCH] bluetooth: Cleanup formatting and coding style

From: Joe Perches
Date: Sun Jun 23 2019 - 22:42:41 EST


On Sun, 2019-06-23 at 23:15 +0200, Fabian Schindlatz wrote:
> Fix some warnings and one error reported by checkpatch.pl:
[]
> diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c
[]
> @@ -351,7 +356,8 @@ static int ll_enqueue(struct hci_uart *hu, struct sk_buff *skb)
> skb_queue_tail(&ll->tx_wait_q, skb);
> break;
> default:
> - BT_ERR("illegal hcill state: %ld (losing packet)", ll->hcill_state);
> + BT_ERR("illegal hcill state: %ld (losing packet)",

trivia:

Might use invalid instead of illegal as no crime was committed.