2012-10-03 06:44:44

by David Rientjes

[permalink] [raw]
Subject: Re: [PATCH 6/10] bug.h: Replace __linktime_error with __compiletime_error

On Fri, 28 Sep 2012, Daniel Santos wrote:

> Signed-off-by: Daniel Santos <[email protected]>

After this is folded into the previous patch in the series,
"compiler{,-gcc4}.h: Remove duplicate macros", then:

Acked-by: David Rientjes <[email protected]>


2012-10-03 11:40:48

by Daniel Santos

[permalink] [raw]
Subject: Re: [PATCH 6/10] bug.h: Replace __linktime_error with __compiletime_error

On 10/03/2012 01:44 AM, David Rientjes wrote:
> On Fri, 28 Sep 2012, Daniel Santos wrote:
>
>> Signed-off-by: Daniel Santos <[email protected]>
> After this is folded into the previous patch in the series,
> "compiler{,-gcc4}.h: Remove duplicate macros", then:
>
> Acked-by: David Rientjes <[email protected]>
Thanks. I've actually just reversed the patch order per Josh's
suggestion and added patch comments to it. I can squash them if you
guys prefer.

Unfortunately, I'm a bit confused as to how I should re-submit these,
still being new to this project. Patch 1 is already in -mm. Patches 2-3
have not changed. I've made a correction to patch #4 and reversed the
order of 5 & 6. And what was 8-10 is now 8-15, as I've completely
re-done BUILD_BUG_ON. I was planning on just submitting the whole set
again, is this the correct protocol? If so, should I reply to the
original [PATCH 0/10] thread or create a new one?

Thanks!
Daniel

2012-10-03 15:36:09

by Josh Triplett

[permalink] [raw]
Subject: Re: [PATCH 6/10] bug.h: Replace __linktime_error with __compiletime_error

On Wed, Oct 03, 2012 at 06:49:10AM -0500, Daniel Santos wrote:
> On 10/03/2012 01:44 AM, David Rientjes wrote:
> > On Fri, 28 Sep 2012, Daniel Santos wrote:
> >
> >> Signed-off-by: Daniel Santos <[email protected]>
> > After this is folded into the previous patch in the series,
> > "compiler{,-gcc4}.h: Remove duplicate macros", then:
> >
> > Acked-by: David Rientjes <[email protected]>
> Thanks. I've actually just reversed the patch order per Josh's
> suggestion and added patch comments to it. I can squash them if you
> guys prefer.
>
> Unfortunately, I'm a bit confused as to how I should re-submit these,
> still being new to this project. Patch 1 is already in -mm. Patches 2-3
> have not changed. I've made a correction to patch #4 and reversed the
> order of 5 & 6. And what was 8-10 is now 8-15, as I've completely
> re-done BUILD_BUG_ON. I was planning on just submitting the whole set
> again, is this the correct protocol? If so, should I reply to the
> original [PATCH 0/10] thread or create a new one?

Make your cover letter a reply to the original PATCH 0/10 mail,
generate your patches with git format-patch --subject-prefix=PATCHv2 ,
and include in the cover letter a patch series changelog saying what
changed in v2.

- Josh Triplett

2012-10-03 18:26:35

by David Rientjes

[permalink] [raw]
Subject: Re: [PATCH 6/10] bug.h: Replace __linktime_error with __compiletime_error

On Wed, 3 Oct 2012, Daniel Santos wrote:

> Thanks. I've actually just reversed the patch order per Josh's
> suggestion and added patch comments to it. I can squash them if you
> guys prefer.
>

No need to be so fine-grained in your patches, if you're trying to replace
__linktime_error with __compiletime_error, which happens to be the title
of the patch (and should remain the title), then just remove it's single
occurrence and its definition at the same time with a clear changelog that
__compiletime_error is sufficient. No need to have two small patches with
the same motivation.

> Unfortunately, I'm a bit confused as to how I should re-submit these,
> still being new to this project. Patch 1 is already in -mm. Patches 2-3
> have not changed. I've made a correction to patch #4 and reversed the
> order of 5 & 6. And what was 8-10 is now 8-15, as I've completely
> re-done BUILD_BUG_ON. I was planning on just submitting the whole set
> again, is this the correct protocol? If so, should I reply to the
> original [PATCH 0/10] thread or create a new one?
>

You already have a patch in -mm, so you have to base your series on that
tree. Get the latest -mm tree from http://www.ozlabs.org/~akpm/mmotm/ and
base the revised series on that tree, then send it off to
Andrew Morton <[email protected]> and cc the list and your
reviewers. People often find it helpful to make it clear that this is v2
of the patchset and that it's based on -mm as a helpful pointer.

2012-10-04 00:26:51

by Daniel Santos

[permalink] [raw]
Subject: Re: [PATCH 6/10] bug.h: Replace __linktime_error with __compiletime_error

On 10/03/2012 01:26 PM, David Rientjes wrote:
> On Wed, 3 Oct 2012, Daniel Santos wrote:
>
>> Thanks. I've actually just reversed the patch order per Josh's
>> suggestion and added patch comments to it. I can squash them if you
>> guys prefer.
>>
> No need to be so fine-grained in your patches, if you're trying to replace
> __linktime_error with __compiletime_error, which happens to be the title
> of the patch (and should remain the title), then just remove it's single
> occurrence and its definition at the same time with a clear changelog that
> __compiletime_error is sufficient. No need to have two small patches with
> the same motivation.
Sounds good to me
>
>> Unfortunately, I'm a bit confused as to how I should re-submit these,
>> still being new to this project. Patch 1 is already in -mm. Patches 2-3
>> have not changed. I've made a correction to patch #4 and reversed the
>> order of 5 & 6. And what was 8-10 is now 8-15, as I've completely
>> re-done BUILD_BUG_ON. I was planning on just submitting the whole set
>> again, is this the correct protocol? If so, should I reply to the
>> original [PATCH 0/10] thread or create a new one?
>>
> You already have a patch in -mm, so you have to base your series on that
> tree. Get the latest -mm tree from http://www.ozlabs.org/~akpm/mmotm/ and
> base the revised series on that tree, then send it off to
> Andrew Morton <[email protected]> and cc the list and your
> reviewers. People often find it helpful to make it clear that this is v2
> of the patchset and that it's based on -mm as a helpful pointer.
I have it checked out from git://git.cmpxchg.org/linux-mmotm.git, the
problem is that I cannot correctly test against that right now because I
get an oops (without my patches) when setting up LVM (same on -next, bug
report here https://bugzilla.kernel.org/show_bug.cgi?id=48241). What
I'm thinking about doing is to rebase them against v3.6 again and test
them there, but it will require a few minor changes (due to walken's
patches not being present). Still, it's better than no re-testing.
Daniel

2012-10-04 21:52:04

by David Rientjes

[permalink] [raw]
Subject: Re: [PATCH 6/10] bug.h: Replace __linktime_error with __compiletime_error

On Wed, 3 Oct 2012, Daniel Santos wrote:

> I have it checked out from git://git.cmpxchg.org/linux-mmotm.git, the
> problem is that I cannot correctly test against that right now because I
> get an oops (without my patches) when setting up LVM (same on -next, bug
> report here https://bugzilla.kernel.org/show_bug.cgi?id=48241). What
> I'm thinking about doing is to rebase them against v3.6 again and test
> them there, but it will require a few minor changes (due to walken's
> patches not being present). Still, it's better than no re-testing.
> Daniel
>

I would cherry-pick the changes you already have for this patchset in -mm
into Linus' latest tree, then base your new patchset on top of that
modified tree.