2015-07-23 11:08:52

by Mutharaju, Prasanna (P.)

[permalink] [raw]
Subject: [PATCH] Bluetooth:hci_ldisc: Cleaned up coding style warnings

From: Prasanna Karthik <[email protected]>

Fix for Cleanpatch warning:
Space prohibited between function name and open parenthesis '('

Signed-off-by: Prasanna Karthik <[email protected]>
---
drivers/bluetooth/hci_ldisc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 177dd69..f190f98 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -770,7 +770,7 @@ static int __init hci_uart_init(void)
=20
/* Register the tty discipline */
=20
- memset(&hci_uart_ldisc, 0, sizeof (hci_uart_ldisc));
+ memset(&hci_uart_ldisc, 0, sizeof(hci_uart_ldisc));
hci_uart_ldisc.magic =3D TTY_LDISC_MAGIC;
hci_uart_ldisc.name =3D "n_hci";
hci_uart_ldisc.open =3D hci_uart_tty_open;
--=20
1.7.0.4


2015-07-27 07:31:59

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth:hci_ldisc: Cleaned up coding style warnings

Hi Prasanna,

On Thu, Jul 23, 2015, Mutharaju, Prasanna (P.) wrote:
> From: Prasanna Karthik <[email protected]>
>
> Fix for Cleanpatch warning:
> Space prohibited between function name and open parenthesis '('
>
> Signed-off-by: Prasanna Karthik <[email protected]>
> ---
> drivers/bluetooth/hci_ldisc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Applied to bluetooth-next. Thanks.

Johan