* [2.6 patch] drivers/scsi/advansys.c section fix
@ 2007-12-11 22:23 Adrian Bunk
2007-12-11 22:35 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-12-11 22:23 UTC (permalink / raw)
To: matthew, James.Bottomley; +Cc: linux-scsi, linux-kernel
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
};
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] drivers/scsi/advansys.c section fix
2007-12-11 22:23 [2.6 patch] drivers/scsi/advansys.c section fix Adrian Bunk
@ 2007-12-11 22:35 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2007-12-11 22:35 UTC (permalink / raw)
To: Adrian Bunk; +Cc: matthew, James.Bottomley, linux-scsi, linux-kernel
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-11 22:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 22:23 [2.6 patch] drivers/scsi/advansys.c section fix Adrian Bunk
2007-12-11 22:35 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).