From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: jagadish tirumala <t.jag587@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PATCH fixed coding style error in drivers/bluetooth/hci_serdev.c
Date: Mon, 11 Jun 2018 09:37:44 -0600 [thread overview]
Message-ID: <20180611153744.GA8246@xps15> (raw)
In-Reply-To: <07c1607e-e75a-967e-c007-329832306936@gmail.com>
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
>
>
>
prev parent reply other threads:[~2018-06-11 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180611153744.GA8246@xps15 \
--to=mathieu.poirier@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=t.jag587@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox