From: Sam Ravnborg <sam@ravnborg.org>
To: Li Yang-r58472 <LeoLi@freescale.com>
Cc: Andrew Morton <akpm@osdl.org>,
linuxppc-dev@ozlabs.org, Linus <torvalds@linux-foundation.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
Date: Tue, 15 May 2007 21:29:46 +0200 [thread overview]
Message-ID: <20070515192946.GA22476@uranus.ravnborg.org> (raw)
In-Reply-To: <989B956029373F45A0B8AF0297081890B76041@zch01exm26.fsl.freescale.net>
On Tue, May 15, 2007 at 05:36:40PM +0800, Li Yang-r58472 wrote:
> > -----Original Message-----
> > From: Kumar Gala [mailto:galak@kernel.crashing.org]
> > Sent: Monday, May 14, 2007 9:57 PM
> > To: Sam Ravnborg
> > Cc: Li Yang-r58472; Linus; Andrew Morton; Linux Kernel;
> linuxppc-dev@ozlabs.org
> > Subject: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning
> whitelist for
> > powerpc
> >
> >
> > On May 14, 2007, at 6:06 AM, Sam Ravnborg wrote:
> >
> > > On Mon, May 14, 2007 at 06:53:32PM +0800, Li Yang wrote:
> > >> This patch fixes the following "Section mismatch" warnings when
> > >> build powerpc platforms.
> > >>
> > >> -------------
> > >> WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference
> to
> > >> .init.text:early_get_page from .text between
> > >> 'pte_alloc_one_kernel' (at
> > >> offset 0xc68) and 'pte_alloc_one'
> > >> WARNING: mm/built-in.o - Section mismatch: reference to
> > >> .init.text:set_up_list3s from .text between
> > >> 'kmem_cache_create' (at offset
> > >> 0x20300) and 'cache_reap'
> > >> -------------
> >
> > This warnings should be handled by __init_refok instead.
>
> Yes. When __init_refok gets in, we can change all Pattern 9 members in
> the whitelist to use __init_refok.
I have applied the patch without the fixes for the above functions.
Will merge and push the __init_refok changes soonish.
Sam
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Li Yang-r58472 <LeoLi@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>,
Linus <torvalds@linux-foundation.org>,
Andrew Morton <akpm@osdl.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
Date: Tue, 15 May 2007 21:29:46 +0200 [thread overview]
Message-ID: <20070515192946.GA22476@uranus.ravnborg.org> (raw)
In-Reply-To: <989B956029373F45A0B8AF0297081890B76041@zch01exm26.fsl.freescale.net>
On Tue, May 15, 2007 at 05:36:40PM +0800, Li Yang-r58472 wrote:
> > -----Original Message-----
> > From: Kumar Gala [mailto:galak@kernel.crashing.org]
> > Sent: Monday, May 14, 2007 9:57 PM
> > To: Sam Ravnborg
> > Cc: Li Yang-r58472; Linus; Andrew Morton; Linux Kernel;
> linuxppc-dev@ozlabs.org
> > Subject: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning
> whitelist for
> > powerpc
> >
> >
> > On May 14, 2007, at 6:06 AM, Sam Ravnborg wrote:
> >
> > > On Mon, May 14, 2007 at 06:53:32PM +0800, Li Yang wrote:
> > >> This patch fixes the following "Section mismatch" warnings when
> > >> build powerpc platforms.
> > >>
> > >> -------------
> > >> WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference
> to
> > >> .init.text:early_get_page from .text between
> > >> 'pte_alloc_one_kernel' (at
> > >> offset 0xc68) and 'pte_alloc_one'
> > >> WARNING: mm/built-in.o - Section mismatch: reference to
> > >> .init.text:set_up_list3s from .text between
> > >> 'kmem_cache_create' (at offset
> > >> 0x20300) and 'cache_reap'
> > >> -------------
> >
> > This warnings should be handled by __init_refok instead.
>
> Yes. When __init_refok gets in, we can change all Pattern 9 members in
> the whitelist to use __init_refok.
I have applied the patch without the fixes for the above functions.
Will merge and push the __init_refok changes soonish.
Sam
next prev parent reply other threads:[~2007-05-15 19:28 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-14 10:53 [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc Li Yang
2007-05-14 11:06 ` Sam Ravnborg
2007-05-14 11:06 ` Sam Ravnborg
2007-05-14 13:56 ` Kumar Gala
2007-05-14 13:56 ` Kumar Gala
2007-05-14 19:30 ` Andrew Morton
2007-05-14 19:30 ` Andrew Morton
2007-05-14 20:10 ` Kumar Gala
2007-05-14 20:10 ` Kumar Gala
2007-05-14 21:13 ` Sam Ravnborg
2007-05-14 21:13 ` Sam Ravnborg
2007-05-15 0:17 ` Satyam Sharma
2007-05-15 0:17 ` Satyam Sharma
2007-05-15 9:22 ` Li Yang-r58472
2007-05-15 9:22 ` Li Yang-r58472
2007-05-15 10:03 ` Satyam Sharma
2007-05-15 10:03 ` Satyam Sharma
2007-05-15 10:56 ` Stephen Rothwell
2007-05-15 10:56 ` Stephen Rothwell
2007-05-15 9:36 ` Li Yang-r58472
2007-05-15 9:36 ` Li Yang-r58472
2007-05-15 19:29 ` Sam Ravnborg [this message]
2007-05-15 19:29 ` Sam Ravnborg
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=20070515192946.GA22476@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=LeoLi@freescale.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.