linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH fixed coding style error in drivers/bluetooth/hci_serdev.c
       [not found] <2a6059f5-e3f8-9a15-1319-f1189fdd4d83@gmail.com>
@ 2018-06-11 15:15 ` jagadish tirumala
  2018-06-11 15:37   ` Mathieu Poirier
  0 siblings, 1 reply; 2+ messages in thread
From: jagadish tirumala @ 2018-06-11 15:15 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]


HI , This is Jagdish , I have fixed a coding style ERROR: space required
before the open parenthesis in drivers/bluetooth/hci_serdev.c , please
have a look

Jagdish




[-- Attachment #2: 0001-fixed-coding-style-error.patch --]
[-- Type: text/x-patch, Size: 845 bytes --]

>From 3c3e844d0f0ba49a6d40a7265548f81316f756e4 Mon Sep 17 00:00:00 2001
From: Jagdish587 <t.jag587@gmail.com>
Date: Sun, 10 Jun 2018 04:15:53 -0700
Subject: [PATCH 1/1] fixed coding style error

Signed-off-by: Jagdish587 <t.jag587@gmail.com>
---
 drivers/bluetooth/hci_serdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c
index aa2543b..d41c520 100644
--- a/drivers/bluetooth/hci_serdev.c
+++ b/drivers/bluetooth/hci_serdev.c
@@ -94,7 +94,7 @@ static void hci_uart_write_work(struct work_struct *work)
 			hci_uart_tx_complete(hu, hci_skb_pkt_type(skb));
 			kfree_skb(skb);
 		}
-	} while(test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state));
+	} while (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state));
 
 	clear_bit(HCI_UART_SENDING, &hu->tx_state);
 }
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: PATCH fixed coding style error in drivers/bluetooth/hci_serdev.c
  2018-06-11 15:15 ` PATCH fixed coding style error in drivers/bluetooth/hci_serdev.c jagadish tirumala
@ 2018-06-11 15:37   ` Mathieu Poirier
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Poirier @ 2018-06-11 15:37 UTC (permalink / raw)
  To: jagadish tirumala; +Cc: linux-kernel

On Mon, Jun 11, 2018 at 08:15:13AM -0700, jagadish tirumala wrote:
> 
> HI , This is Jagdish , I have fixed a coding style ERROR: space required
> before the open parenthesis in drivers/bluetooth/hci_serdev.c , please
> have a look
> 
> Jagdish
> 
> 
>

Hello Jagdish,

I am afraid your patch has several problems and won't be considered (nor
accepted) by the community.  First the patch can't be an attachment to an email
- please see how patches are posted on the kernel mailing list and use a tool
 like "git send-email".

Second you need to send the patch to the maintainers and CC the kernel mailing
list.  Otherwise it is very unlikey the person who is supposed to look at your
patch will actually do so.  A tool like script/get_maintainer.pl will help you
with that.

> From 3c3e844d0f0ba49a6d40a7265548f81316f756e4 Mon Sep 17 00:00:00 2001
> From: Jagdish587 <t.jag587@gmail.com>
> Date: Sun, 10 Jun 2018 04:15:53 -0700
> Subject: [PATCH 1/1] fixed coding style error

We can do better here.  git log --oneline -10 drivers/bluetooth/hci_serdev.c
will give you examples of the title other people have given to their patches
when submitting fix that touch this file.

> 
> Signed-off-by: Jagdish587 <t.jag587@gmail.com>

This needs to be the name you would use to sign documents.

I suggest you familiarise yourself with chapter 1 to 8 in
Documentation/process/.  This will save you a lot of time.

Mathieu

> ---
>  drivers/bluetooth/hci_serdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c
> index aa2543b..d41c520 100644
> --- a/drivers/bluetooth/hci_serdev.c
> +++ b/drivers/bluetooth/hci_serdev.c
> @@ -94,7 +94,7 @@ static void hci_uart_write_work(struct work_struct *work)
>  			hci_uart_tx_complete(hu, hci_skb_pkt_type(skb));
>  			kfree_skb(skb);
>  		}
> -	} while(test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state));
> +	} while (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state));
>  
>  	clear_bit(HCI_UART_SENDING, &hu->tx_state);
>  }
> -- 
> 2.7.4
> 
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-11 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2a6059f5-e3f8-9a15-1319-f1189fdd4d83@gmail.com>
2018-06-11 15:15 ` PATCH fixed coding style error in drivers/bluetooth/hci_serdev.c jagadish tirumala
2018-06-11 15:37   ` Mathieu Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).