public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: matthew@wil.cx, James.Bottomley@HansenPartnership.com,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] drivers/scsi/advansys.c section fix
Date: Tue, 11 Dec 2007 14:35:27 -0800	[thread overview]
Message-ID: <20071211143527.a259a0ad.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20071211222353.GZ14204@stusta.de>

On Tue, 11 Dec 2007 23:23:53 +0100 Adrian Bunk wrote:

> This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:
> 
> <--  snip  -->
> 
> ...
> WARNING: vmlinux.o(.exit.text+0xcf8a): Section mismatch: reference to .init.data:_asc_def_iop_base (between 'advansys_isa_remove' and 'exit_this_scsi_driver')
> ...
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> e81cac11f9efe882a89708c298fa6268375b0221 
> diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
> index 9dd3952..38a1ee2 100644
> --- a/drivers/scsi/advansys.c
> +++ b/drivers/scsi/advansys.c
> @@ -13906,7 +13906,7 @@ static int advansys_release(struct Scsi_Host *shost)
>  
>  #define ASC_IOADR_TABLE_MAX_IX  11
>  
> -static PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] __devinitdata = {
> +static PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] = {
>  	0x100, 0x0110, 0x120, 0x0130, 0x140, 0x0150, 0x0190,
>  	0x0210, 0x0230, 0x0250, 0x0330
>  };
> 
> -

http://marc.info/?l=linux-scsi&m=119368247502255

Acked-by me.


---
~Randy
Features and documentation: http://lwn.net/Articles/260136/

      reply	other threads:[~2007-12-11 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 22:23 [2.6 patch] drivers/scsi/advansys.c section fix Adrian Bunk
2007-12-11 22:35 ` Randy Dunlap [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=20071211143527.a259a0ad.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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