Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


wfg at linux

Jun 9, 2012, 8:16 PM

Post #1 of 7 (115 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c

On Sat, Jun 09, 2012 at 07:04:51PM -0700, David Miller wrote:
> From: Fengguang Wu <wfg [at] linux>
> Date: Sun, 10 Jun 2012 09:58:32 +0800
>
> > It triggers some warnings:
> >
> > WARNING: net/ipv6/ipv6.o(.text+0x1049c): Section mismatch in reference from the function ip6_route_cleanup() to the variable .init.data:ipv6_inetpeer_ops
>
> This should fix it:

Yes it worked.

Tested-by: Fengguang Wu <wfg [at] linux>

In long run, such build-fix patches can also be auto tested and
reported, somehow in this way. You just create a temporary branch
named "0day-XXXXXX" and push the build-fix patch there. After a while
my robot script will pull and build test it. When finished, it will
recognize the "0day" pattern in the branch name and then
*unconditionally* report back.

"unconditionally" means it will

- report build failure as well as build success
- report new error/warnings as well as old ones

Upon receiving the success/failure notification, you can then proceed
to either merge the commit to the main branch, or update the commit in
place to restart the test. This should work much more fluently than
waiting for me to manually test some emailed patch. Not only I may be
sleeping at the time, but also I'm sending out build failure reports
almost *every day*. It would be a burden for me to manually test out
fixes every day...

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


davem at davemloft

Jun 9, 2012, 9:21 PM

Post #2 of 7 (115 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c [In reply to]

From: Fengguang Wu <wfg [at] linux>
Date: Sun, 10 Jun 2012 11:16:34 +0800

> In long run, such build-fix patches can also be auto tested and
> reported, somehow in this way. You just create a temporary branch

Sorry, no.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


wfg at linux

Jun 9, 2012, 9:43 PM

Post #3 of 7 (112 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c [In reply to]

On Sat, Jun 09, 2012 at 09:21:47PM -0700, David Miller wrote:
> From: Fengguang Wu <wfg [at] linux>
> Date: Sun, 10 Jun 2012 11:16:34 +0800
>
> > In long run, such build-fix patches can also be auto tested and
> > reported, somehow in this way. You just create a temporary branch
>
> Sorry, no.

That's fine. Then how about including some text "fix build errors" or
"fix build warnings" or paste the original gcc error/warning messages,
somewhere in the changelog or subject?

That will also allow me recognize that it's a build fix commit and to
make it unconditionally report back any build results.

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


wfg at linux

Jun 9, 2012, 9:49 PM

Post #4 of 7 (112 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c [In reply to]

On Sun, Jun 10, 2012 at 12:43:39PM +0800, Fengguang Wu wrote:
> On Sat, Jun 09, 2012 at 09:21:47PM -0700, David Miller wrote:
> > From: Fengguang Wu <wfg [at] linux>
> > Date: Sun, 10 Jun 2012 11:16:34 +0800
> >
> > > In long run, such build-fix patches can also be auto tested and
> > > reported, somehow in this way. You just create a temporary branch
> >
> > Sorry, no.
>
> That's fine. Then how about including some text "fix build errors" or
> "fix build warnings" or paste the original gcc error/warning messages,
> somewhere in the changelog or subject?
>
> That will also allow me recognize that it's a build fix commit and to
> make it unconditionally report back any build results.

Or better, simply include a

Reported-by: Fengguang Wu <wfg [at] linux>

line in the commit. Then I can reliably detect that it actually tries
to fix some build error/waring reported by me, and verbosely report
back whether the commit actually fix things up.

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


davem at davemloft

Jun 9, 2012, 10:03 PM

Post #5 of 7 (116 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c [In reply to]

From: Fengguang Wu <wfg [at] linux>
Date: Sun, 10 Jun 2012 12:43:39 +0800

> That will also allow me recognize that it's a build fix commit and to
> make it unconditionally report back any build results.

How many extra tasks do you want me to add to my already backlogged
workflow?

I'm not doing extra work for you, sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


davem at davemloft

Jun 9, 2012, 10:04 PM

Post #6 of 7 (111 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c [In reply to]

From: Fengguang Wu <wfg [at] linux>
Date: Sun, 10 Jun 2012 12:49:34 +0800

> On Sun, Jun 10, 2012 at 12:43:39PM +0800, Fengguang Wu wrote:
>> On Sat, Jun 09, 2012 at 09:21:47PM -0700, David Miller wrote:
>> > From: Fengguang Wu <wfg [at] linux>
>> > Date: Sun, 10 Jun 2012 11:16:34 +0800
>> >
>> > > In long run, such build-fix patches can also be auto tested and
>> > > reported, somehow in this way. You just create a temporary branch
>> >
>> > Sorry, no.
>>
>> That's fine. Then how about including some text "fix build errors" or
>> "fix build warnings" or paste the original gcc error/warning messages,
>> somewhere in the changelog or subject?
>>
>> That will also allow me recognize that it's a build fix commit and to
>> make it unconditionally report back any build results.
>
> Or better, simply include a
>
> Reported-by: Fengguang Wu <wfg [at] linux>

Now that on the other hand I should have done and was an oversight.

But all the other crap, is absolutely unreasonable of you to ask of me.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


wfg at linux

Jun 9, 2012, 11:47 PM

Post #7 of 7 (107 views)
Permalink
Re: [PATCH] inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c [In reply to]

On Sat, Jun 09, 2012 at 10:04:21PM -0700, David Miller wrote:
> From: Fengguang Wu <wfg [at] linux>
> Date: Sun, 10 Jun 2012 12:49:34 +0800
>
> > On Sun, Jun 10, 2012 at 12:43:39PM +0800, Fengguang Wu wrote:
> >> On Sat, Jun 09, 2012 at 09:21:47PM -0700, David Miller wrote:
> >> > From: Fengguang Wu <wfg [at] linux>
> >> > Date: Sun, 10 Jun 2012 11:16:34 +0800
> >> >
> >> > > In long run, such build-fix patches can also be auto tested and
> >> > > reported, somehow in this way. You just create a temporary branch
> >> >
> >> > Sorry, no.
> >>
> >> That's fine. Then how about including some text "fix build errors" or
> >> "fix build warnings" or paste the original gcc error/warning messages,
> >> somewhere in the changelog or subject?
> >>
> >> That will also allow me recognize that it's a build fix commit and to
> >> make it unconditionally report back any build results.
> >
> > Or better, simply include a
> >
> > Reported-by: Fengguang Wu <wfg [at] linux>
>
> Now that on the other hand I should have done and was an oversight.

That's fine.

Please feel free to add that "Reported-by" to get verbose build report,
as well as to _NOT_ add the above line to avoid receiving reports when
the fix is obviously correct.

Ie. use the tag as a way to control my script.

> But all the other crap, is absolutely unreasonable of you to ask of me.

Yup.. Thanks for your time!

Regards,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.