LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Denis Kirjanov <kda@linux-powerpc.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc/msi: fix section mismatch warning
Date: Wed, 21 Oct 2015 17:42:56 +1100	[thread overview]
Message-ID: <20151021174256.635a4cb4@canb.auug.org.au> (raw)
In-Reply-To: <1445407004-6439-1-git-send-email-kda@linux-powerpc.org>

Hi Denis,

On Wed, 21 Oct 2015 08:56:44 +0300 Denis Kirjanov <kda@linux-powerpc.org> wrote:
>
> diff --git a/arch/powerpc/include/asm/msi_bitmap.h b/arch/powerpc/include/asm/msi_bitmap.h
> index 1ec7125..fbd3424 100644
> --- a/arch/powerpc/include/asm/msi_bitmap.h
> +++ b/arch/powerpc/include/asm/msi_bitmap.h
> @@ -29,7 +29,7 @@ void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
>  
>  int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp);
>  
> -int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
> +int __init_refok msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
>  		     struct device_node *of_node);

I am pretty sure that we don't want or need the annotation in the header file.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

      parent reply	other threads:[~2015-10-21  6:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21  5:56 [PATCH] powerpc/msi: fix section mismatch warning Denis Kirjanov
2015-10-21  6:34 ` Arnd Bergmann
2015-10-21  8:19   ` Denis Kirjanov
2015-10-21  6:42 ` Stephen Rothwell [this message]

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=20151021174256.635a4cb4@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=kda@linux-powerpc.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /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