mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] watchdog: Fixed missing blank line warning
@ 2014-12-05 13:43 Athira Lekshmi
  2014-12-05 14:00 ` Jeremiah Mahler
  0 siblings, 1 reply; 5+ messages in thread
From: Athira Lekshmi @ 2014-12-05 13:43 UTC (permalink / raw)
  To: wim; +Cc: linux-kernel, linux-watchdog, Athira Lekshmi

Fixed the checkpatch warning:
Missing a blank line after declarations

Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
---
 drivers/watchdog/mixcomwd.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c
index be86ea3..03b7612e 100644
--- a/drivers/watchdog/mixcomwd.c
+++ b/drivers/watchdog/mixcomwd.c
@@ -183,6 +183,7 @@ static ssize_t mixcomwd_write(struct file *file, const char __user *data,
 
 			for (i = 0; i != len; i++) {
 				char c;
+
 				if (get_user(c, data + i))
 					return -EFAULT;
 				if (c == 'V')
-- 
1.7.9.5


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

* Re: [PATCH] watchdog: Fixed missing blank line warning
  2014-12-05 13:43 [PATCH] watchdog: Fixed missing blank line warning Athira Lekshmi
@ 2014-12-05 14:00 ` Jeremiah Mahler
  2014-12-05 14:09   ` Athira Lekshmi C V
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremiah Mahler @ 2014-12-05 14:00 UTC (permalink / raw)
  To: Athira Lekshmi; +Cc: linux-kernel

Athira,

On Fri, Dec 05, 2014 at 07:13:54PM +0530, Athira Lekshmi wrote:
> Fixed the checkpatch warning:
> Missing a blank line after declarations
> 
> Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
> ---
>  drivers/watchdog/mixcomwd.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c
> index be86ea3..03b7612e 100644
> --- a/drivers/watchdog/mixcomwd.c
> +++ b/drivers/watchdog/mixcomwd.c
> @@ -183,6 +183,7 @@ static ssize_t mixcomwd_write(struct file *file, const char __user *data,
>  
>  			for (i = 0; i != len; i++) {
>  				char c;
> +
>  				if (get_user(c, data + i))
>  					return -EFAULT;
>  				if (c == 'V')
> -- 
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

It is helpful to add a version number when patches are re-submitted to
avoid them being confused for a new patch.  git-format-patch has the
--reroll-count option which makes this easy to do.

-- 
- Jeremiah Mahler

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

* Re: [PATCH] watchdog: Fixed missing blank line warning
  2014-12-05 14:00 ` Jeremiah Mahler
@ 2014-12-05 14:09   ` Athira Lekshmi C V
  2014-12-05 14:40     ` Jeremiah Mahler
  0 siblings, 1 reply; 5+ messages in thread
From: Athira Lekshmi C V @ 2014-12-05 14:09 UTC (permalink / raw)
  To: Jeremiah Mahler, linux-kernel

Hello

Should I resubmit the above patch again including the version number,
or can I start doing so from the next time onwards ?

Thank You
Athira Lekshmi

On Fri, Dec 5, 2014 at 7:30 PM, Jeremiah Mahler <jmmahler@gmail.com> wrote:
> Athira,
>
> On Fri, Dec 05, 2014 at 07:13:54PM +0530, Athira Lekshmi wrote:
>> Fixed the checkpatch warning:
>> Missing a blank line after declarations
>>
>> Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
>> ---
>>  drivers/watchdog/mixcomwd.c |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c
>> index be86ea3..03b7612e 100644
>> --- a/drivers/watchdog/mixcomwd.c
>> +++ b/drivers/watchdog/mixcomwd.c
>> @@ -183,6 +183,7 @@ static ssize_t mixcomwd_write(struct file *file, const char __user *data,
>>
>>                       for (i = 0; i != len; i++) {
>>                               char c;
>> +
>>                               if (get_user(c, data + i))
>>                                       return -EFAULT;
>>                               if (c == 'V')
>> --
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>
> It is helpful to add a version number when patches are re-submitted to
> avoid them being confused for a new patch.  git-format-patch has the
> --reroll-count option which makes this easy to do.
>
> --
> - Jeremiah Mahler

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

* Re: [PATCH] watchdog: Fixed missing blank line warning
  2014-12-05 14:09   ` Athira Lekshmi C V
@ 2014-12-05 14:40     ` Jeremiah Mahler
  2014-12-08  9:42       ` Jeremiah Mahler
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremiah Mahler @ 2014-12-05 14:40 UTC (permalink / raw)
  To: Athira Lekshmi C V; +Cc: linux-kernel

On Fri, Dec 05, 2014 at 07:39:12PM +0530, Athira Lekshmi C V wrote:
> Hello
> 
> Should I resubmit the above patch again including the version number,
> or can I start doing so from the next time onwards ?
> 
Not a big deal this time but definitely do it in the future.

Another tip: try to avoid posting, it can make the conversation
confusing [1].

  [1]: https://lkml.org/lkml/2005/1/11/111

> Thank You
> Athira Lekshmi
> 
> On Fri, Dec 5, 2014 at 7:30 PM, Jeremiah Mahler <jmmahler@gmail.com> wrote:
> > Athira,
> >
> > On Fri, Dec 05, 2014 at 07:13:54PM +0530, Athira Lekshmi wrote:
> >> Fixed the checkpatch warning:
> >> Missing a blank line after declarations
> >>
> >> Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
> >> ---
> >>  drivers/watchdog/mixcomwd.c |    1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c
> >> index be86ea3..03b7612e 100644
> >> --- a/drivers/watchdog/mixcomwd.c
> >> +++ b/drivers/watchdog/mixcomwd.c
> >> @@ -183,6 +183,7 @@ static ssize_t mixcomwd_write(struct file *file, const char __user *data,
> >>
> >>                       for (i = 0; i != len; i++) {
> >>                               char c;
> >> +
> >>                               if (get_user(c, data + i))
> >>                                       return -EFAULT;
> >>                               if (c == 'V')
> >> --
> >> 1.7.9.5
> >>
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> >> the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >> Please read the FAQ at  http://www.tux.org/lkml/
> >
> > It is helpful to add a version number when patches are re-submitted to
> > avoid them being confused for a new patch.  git-format-patch has the
> > --reroll-count option which makes this easy to do.
> >
> > --
> > - Jeremiah Mahler

-- 
- Jeremiah Mahler

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

* Re: [PATCH] watchdog: Fixed missing blank line warning
  2014-12-05 14:40     ` Jeremiah Mahler
@ 2014-12-08  9:42       ` Jeremiah Mahler
  0 siblings, 0 replies; 5+ messages in thread
From: Jeremiah Mahler @ 2014-12-08  9:42 UTC (permalink / raw)
  To: Athira Lekshmi C V; +Cc: linux-kernel

Athira,

On Fri, Dec 05, 2014 at 06:40:45AM -0800, Jeremiah Mahler wrote:
> On Fri, Dec 05, 2014 at 07:39:12PM +0530, Athira Lekshmi C V wrote:
> > Hello
> > 
> > Should I resubmit the above patch again including the version number,
> > or can I start doing so from the next time onwards ?
> > 
> Not a big deal this time but definitely do it in the future.
> 
> Another tip: try to avoid posting, it can make the conversation
                      ^^^^^^^^^^^^^
> confusing [1].
> 
                     "avoid top posting"

Posting is great, don't avoid that :-)

>   [1]: https://lkml.org/lkml/2005/1/11/111
> 
> > Thank You
> > Athira Lekshmi
> > 
> > On Fri, Dec 5, 2014 at 7:30 PM, Jeremiah Mahler <jmmahler@gmail.com> wrote:
> > > Athira,
> > >
[...]
> 
> -- 
> - Jeremiah Mahler

-- 
- Jeremiah Mahler

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

end of thread, other threads:[~2014-12-08  9:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-05 13:43 [PATCH] watchdog: Fixed missing blank line warning Athira Lekshmi
2014-12-05 14:00 ` Jeremiah Mahler
2014-12-05 14:09   ` Athira Lekshmi C V
2014-12-05 14:40     ` Jeremiah Mahler
2014-12-08  9:42       ` Jeremiah Mahler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®