Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1398759 > unrolled thread

[PATCH v4 02/18] nbd: fix checkpatch trailing space warning.

Started by"Pranay Kr. Srivastava" <pranjas@gmail.com>
First post2016-05-11 10:20 +0200
Last post2016-05-12 11:30 +0200
Articles 5 — 5 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 02/18] nbd: fix checkpatch trailing space warning. "Pranay Kr. Srivastava" <pranjas@gmail.com> - 2016-05-11 10:20 +0200
    Re: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning. Greg KH <gregkh@linuxfoundation.org> - 2016-05-11 10:40 +0200
      Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning. Pranay Srivastava <pranjas@gmail.com> - 2016-05-11 11:40 +0200
        Re: [Nbd] Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space  warning. Eric Blake <eblake@redhat.com> - 2016-05-11 15:50 +0200
          Re: [Nbd] Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning. Markus Pargmann <mpa@pengutronix.de> - 2016-05-12 11:30 +0200

#1398759 — [PATCH v4 02/18] nbd: fix checkpatch trailing space warning.

From"Pranay Kr. Srivastava" <pranjas@gmail.com>
Date2016-05-11 10:20 +0200
Subject[PATCH v4 02/18] nbd: fix checkpatch trailing space warning.
Message-ID<rxxx8-4bl-11@gated-at.bofh.it>
Signed-off-by: Pranay Kr. Srivastava <pranjas@gmail.com>
---
 drivers/block/nbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index c79bcd7..82aac42 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -3,7 +3,7 @@
  *
  * Note that you can not swap over this thing, yet. Seems to work but
  * deadlocks sometimes - you can not swap over TCP in general.
- * 
+ *
  * Copyright 1997-2000, 2008 Pavel Machek <pavel@ucw.cz>
  * Parts copyright 2001 Steven Whitehouse <steve@chygwyn.com>
  *
-- 
2.6.2

[toc] | [next] | [standalone]


#1398788

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-05-11 10:40 +0200
Message-ID<rxxQt-4q4-9@gated-at.bofh.it>
In reply to#1398759
On Wed, May 11, 2016 at 11:18:30AM +0300, Pranay Kr. Srivastava wrote:
> Signed-off-by: Pranay Kr. Srivastava <pranjas@gmail.com>
> ---
>  drivers/block/nbd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I'm not the maintainer of these files or driver (which is why I don't
know why you are sending them to me), but I know I do not accept patches
without any changelog text at all in them, as that's just lazy.

But, the nbd.c maintainer might accept them, you might get lucky!

good luck,

greg k-h

[toc] | [prev] | [next] | [standalone]


#1398859

FromPranay Srivastava <pranjas@gmail.com>
Date2016-05-11 11:40 +0200
Message-ID<rxyMx-5vM-7@gated-at.bofh.it>
In reply to#1398788
Greg,

Resending as I missed the cc list earlier.

On Wed, May 11, 2016 at 2:03 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Wed, May 11, 2016 at 11:18:30AM +0300, Pranay Kr. Srivastava wrote:
>> Signed-off-by: Pranay Kr. Srivastava <pranjas@gmail.com>
>> ---
>>  drivers/block/nbd.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> I'm not the maintainer of these files or driver (which is why I don't

The series contained some checkpatch changes so I had included you as well.

> know why you are sending them to me), but I know I do not accept patches
> without any changelog text at all in them, as that's just lazy.

That should be per patch or can appear in a cover letter for the patches?

Actually I've made more patches in this series after I had sent the
earlier ones,
but the earlier ones are not changed at all. It's only the addition of
newer patches
to the series. So I'm not sure how exactly would you like these to be.

>
> But, the nbd.c maintainer might accept them, you might get lucky!
>

Thanks again for the reply. Just in case I don't get any reply from
the maintainer,
which I've not as of today, do I consider these patches as dump or
should I resend
these to somebody else. I would really appreciate if you can answer that.

I still have one more patch to send over these which is an enhancement
rather than
a fix but I've not yet got any review of the patches.


> good luck,
>
> greg k-h


--
        ---P.K.S


-- 
        ---P.K.S

[toc] | [prev] | [next] | [standalone]


#1399101 — Re: [Nbd] Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning.

FromEric Blake <eblake@redhat.com>
Date2016-05-11 15:50 +0200
SubjectRe: [Nbd] Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning.
Message-ID<rxCGw-Pf-33@gated-at.bofh.it>
In reply to#1398859

[Multipart message — attachments visible in raw view] — view raw

On 05/11/2016 03:38 AM, Pranay Srivastava wrote:

> 
> The series contained some checkpatch changes so I had included you as well.
> 
>> know why you are sending them to me), but I know I do not accept patches
>> without any changelog text at all in them, as that's just lazy.
> 
> That should be per patch or can appear in a cover letter for the patches?

Per patch.  However, if it were me, I would not have split into quite so
many patches.  The mantra is one patch per one fix, but I think it is
reasonable to state that "silence all checkpatch warnings" counts as one
fix, rather than 16 separate fixes.  If you DO consolidate the
checkpatch changes into a single patch, then the commit message body
should call out a bulleted list of all the changes you are making, as
well as a justification why it is worth churning the entire file rather
than just making smaller checkpatch fixes in just the areas that your
other patches touch.

> 
> Actually I've made more patches in this series after I had sent the
> earlier ones,
> but the earlier ones are not changed at all. It's only the addition of
> newer patches
> to the series.

The cover letter is a great place to point out how v4 differs from v3,
but also to point out which patches are unchanged from v3, to save
reviewer's time.  So if all you did was add new patches, a cover-letter
mention of which patches remain unchanged might be helpful.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[toc] | [prev] | [next] | [standalone]


#1399823 — Re: [Nbd] Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning.

FromMarkus Pargmann <mpa@pengutronix.de>
Date2016-05-12 11:30 +0200
SubjectRe: [Nbd] Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning.
Message-ID<rxV6q-2GU-9@gated-at.bofh.it>
In reply to#1399101

[Multipart message — attachments visible in raw view] — view raw

Hi,

On Wednesday 11 May 2016 07:46:25 Eric Blake wrote:
> On 05/11/2016 03:38 AM, Pranay Srivastava wrote:
> 
> > 
> > The series contained some checkpatch changes so I had included you as well.
> > 
> >> know why you are sending them to me), but I know I do not accept patches
> >> without any changelog text at all in them, as that's just lazy.
> > 
> > That should be per patch or can appear in a cover letter for the patches?
> 
> Per patch.  However, if it were me, I would not have split into quite so
> many patches.  The mantra is one patch per one fix, but I think it is
> reasonable to state that "silence all checkpatch warnings" counts as one
> fix, rather than 16 separate fixes.  If you DO consolidate the
> checkpatch changes into a single patch, then the commit message body
> should call out a bulleted list of all the changes you are making, as
> well as a justification why it is worth churning the entire file rather
> than just making smaller checkpatch fixes in just the areas that your
> other patches touch.

Yes, I think about this similarly. There is simply no benefit in having
the history full of patches that partly even have the exact same
subject. So please squash them into one and describe your changes in the
commit message.

Thanks,

Markus

> 
> > 
> > Actually I've made more patches in this series after I had sent the
> > earlier ones,
> > but the earlier ones are not changed at all. It's only the addition of
> > newer patches
> > to the series.
> 
> The cover letter is a great place to point out how v4 differs from v3,
> but also to point out which patches are unchanged from v3, to save
> reviewer's time.  So if all you did was add new patches, a cover-letter
> mention of which patches remain unchanged might be helpful.
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web