linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: "dyoung@redhat.com" <dyoung@redhat.com>
Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [PATCH mmotm] kexec: arch_kexec_apply_relocations can be static
Date: Fri, 24 Jul 2015 18:30:48 +0800	[thread overview]
Message-ID: <20150724103048.GA8812@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <20150724101457.GA8405@localhost.localdomain>

Hi Dave,

On Fri, Jul 24, 2015 at 06:14:57PM +0800, dyoung@redhat.com wrote:
> Hi, Fengguang
> 
> Justs be curious, is this been found by robot script?

Yes it is. :)

> On 07/24/15 at 04:11pm, kbuild test robot wrote:
> > 
> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> > ---
> >  kexec_file.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c
> > index caf47e9..91e9e9d 100644
> > --- a/kernel/kexec_file.c
> > +++ b/kernel/kexec_file.c
> > @@ -122,7 +122,7 @@ arch_kexec_apply_relocations_add(const Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
> >  }
> >  
> >  /* Apply relocations of type REL */
> > -int __weak
> > +static int __weak
> >  arch_kexec_apply_relocations(const Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
> >  			     unsigned int relsec)
> >  {
> 
> It is a weak function, why move it to static? There's also several other similar
> functions in the file.

Sorry we have detection logic for the weak symbols. However here it
failed to work due to line wrapping. I'll fix it up.

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2015-07-24 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201507241644.XJlodOnm%fengguang.wu@intel.com>
2015-07-24  8:11 ` kbuild test robot
2015-07-24 10:14   ` dyoung
2015-07-24 10:30     ` Fengguang Wu [this message]
2015-07-24 10:48       ` dyoung

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=20150724103048.GA8812@wfg-t540p.sh.intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=dyoung@redhat.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox