* 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error
[not found] ` <46A77C28.1050807@shadowen.org>
@ 2007-07-25 18:06 ` Adrian Bunk
2007-07-26 10:49 ` FUJITA Tomonori
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-07-25 18:06 UTC (permalink / raw)
To: Andy Whitcroft, FUJITA Tomonori, Mike Christie, James.Bottomley
Cc: Andrew Morton, linux-kernel, Steve Fox, Mel Gorman, linux-scsi
On Wed, Jul 25, 2007 at 05:36:56PM +0100, Andy Whitcroft wrote:
> Of the machines we test releases on automatically this only compiles on
> NUMA-Q and does not boot there (some PCI issue).
>
>
> ppc64 (beavis):
>
> drivers/built-in.o(.text+0xd2784): In function `.srp_rport_add':
> : undefined reference to `.scsi_tgt_it_nexus_create'
> drivers/built-in.o(.text+0xd2884): In function `.srp_rport_del':
> : undefined reference to `.scsi_tgt_it_nexus_destroy'
> make: *** [.tmp_vmlinux1] Error 1
>
>
> x86_64 (bl6-13):
>
> ERROR: "scsi_tgt_it_nexus_destroy" [drivers/scsi/scsi_transport_srp.ko]
> undefined!
> ERROR: "scsi_tgt_it_nexus_create" [drivers/scsi/scsi_transport_srp.ko]
> undefined!
> make[1]: *** [__modpost] Error 1
>...
Caused-By : git-scsi-target.patch
Workaround : enable CONFIG_SCSI_TGT
Is there any good reason why all the SCSI transport attributes options
are user visible?
With an answer to this question I can fix this bug.
> -apw
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error
2007-07-25 18:06 ` 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error Adrian Bunk
@ 2007-07-26 10:49 ` FUJITA Tomonori
0 siblings, 0 replies; 3+ messages in thread
From: FUJITA Tomonori @ 2007-07-26 10:49 UTC (permalink / raw)
To: bunk
Cc: apw, fujita.tomonori, michaelc, James.Bottomley, akpm,
linux-kernel, drfickle, mel, linux-scsi
From: Adrian Bunk <bunk@stusta.de>
Subject: 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error
Date: Wed, 25 Jul 2007 20:06:18 +0200
> On Wed, Jul 25, 2007 at 05:36:56PM +0100, Andy Whitcroft wrote:
> > Of the machines we test releases on automatically this only compiles on
> > NUMA-Q and does not boot there (some PCI issue).
> >
> >
> > ppc64 (beavis):
> >
> > drivers/built-in.o(.text+0xd2784): In function `.srp_rport_add':
> > : undefined reference to `.scsi_tgt_it_nexus_create'
> > drivers/built-in.o(.text+0xd2884): In function `.srp_rport_del':
> > : undefined reference to `.scsi_tgt_it_nexus_destroy'
> > make: *** [.tmp_vmlinux1] Error 1
> >
> >
> > x86_64 (bl6-13):
> >
> > ERROR: "scsi_tgt_it_nexus_destroy" [drivers/scsi/scsi_transport_srp.ko]
> > undefined!
> > ERROR: "scsi_tgt_it_nexus_create" [drivers/scsi/scsi_transport_srp.ko]
> > undefined!
> > make[1]: *** [__modpost] Error 1
> >...
>
> Caused-By : git-scsi-target.patch
> Workaround : enable CONFIG_SCSI_TGT
Sorry about this.
Andrew, could you drop the scsi-target tree from -mm?
I was surprised that the scsi-target tree is still in -mm (it had been
tested in -mm before the mainline inclusion). I guess that it's the
right way to push scsi-target stuff into -mm via James' scsi-misc.
> Is there any good reason why all the SCSI transport attributes options
> are user visible?
No, I messed up the dependency somewhere. I'll fix it before it is
merged into scsi-misc.
Thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
* [-mm patch] make scsi_host_link_pm_policy() static
[not found] <20070725040304.111550f4.akpm@linux-foundation.org>
[not found] ` <46A77C28.1050807@shadowen.org>
@ 2007-07-29 14:58 ` Adrian Bunk
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-07-29 14:58 UTC (permalink / raw)
To: Andrew Morton, Kristen Carlson Accardi, James Bottomley,
Jeff Garzik
Cc: linux-kernel, linux-ide, linux-scsi
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.22-rc6-mm1:
>...
> +ata-ahci-alpm-expose-power-management-policy-option-to-users.patch
>...
> ata things
>...
scsi_host_link_pm_policy() can become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.23-rc1-mm1/drivers/scsi/scsi_sysfs.c.old 2007-07-26 21:31:24.000000000 +0200
+++ linux-2.6.23-rc1-mm1/drivers/scsi/scsi_sysfs.c 2007-07-26 21:31:57.000000000 +0200
@@ -200,7 +200,7 @@
{ SHOST_MEDIUM_POWER, "medium_power" },
};
-const char *scsi_host_link_pm_policy(enum scsi_host_link_pm policy)
+static const char *scsi_host_link_pm_policy(enum scsi_host_link_pm policy)
{
int i;
char *name = NULL;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-29 14:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070725040304.111550f4.akpm@linux-foundation.org>
[not found] ` <46A77C28.1050807@shadowen.org>
2007-07-25 18:06 ` 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error Adrian Bunk
2007-07-26 10:49 ` FUJITA Tomonori
2007-07-29 14:58 ` [-mm patch] make scsi_host_link_pm_policy() static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox