* 2.6.12-rc4-git5 fails compile -- aic7xxx_osm.c
@ 2005-05-21 12:24 Pete Clements
2005-05-21 13:21 ` Alexey Dobriyan
0 siblings, 1 reply; 2+ messages in thread
From: Pete Clements @ 2005-05-21 12:24 UTC (permalink / raw)
To: linux-kernel
fyi:
CC drivers/scsi/aic7xxx/aic7xxx_osm.o
drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_slave_alloc':
drivers/scsi/aic7xxx/aic7xxx_osm.c:663: parse error before `struct'
drivers/scsi/aic7xxx/aic7xxx_osm.c:667: `sc' undeclared (first use in this function)
drivers/scsi/aic7xxx/aic7xxx_osm.c:667: (Each undeclared identifier is reported only once
drivers/scsi/aic7xxx/aic7xxx_osm.c:667: for each function it appears in.)
drivers/scsi/aic7xxx/aic7xxx_osm.c:668: warning: `scsirate' might be used uninitialized in this function
make[3]: *** [drivers/scsi/aic7xxx/aic7xxx_osm.o] Error 1
make[2]: *** [drivers/scsi/aic7xxx] Error 2
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
--
Pete Clements
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.12-rc4-git5 fails compile -- aic7xxx_osm.c
2005-05-21 12:24 2.6.12-rc4-git5 fails compile -- aic7xxx_osm.c Pete Clements
@ 2005-05-21 13:21 ` Alexey Dobriyan
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Dobriyan @ 2005-05-21 13:21 UTC (permalink / raw)
To: Pete Clements; +Cc: linux-kernel
On Saturday 21 May 2005 16:24, Pete Clements wrote:
> CC drivers/scsi/aic7xxx/aic7xxx_osm.o
> drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_slave_alloc':
> drivers/scsi/aic7xxx/aic7xxx_osm.c:663: parse error before `struct'
> drivers/scsi/aic7xxx/aic7xxx_osm.c:667: `sc' undeclared (first use in this function)
Just sent this to James Bottomley.
--- linux-20050521140543-000/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-05-21 14:11:06.000000000 +0400
+++ linux-20050521140543-001/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-05-21 16:49:32.000000000 +0400
@@ -659,8 +659,10 @@ ahc_linux_slave_alloc(struct scsi_device
ahc_lock(ahc, &flags);
targ = ahc->platform_data->targets[target_offset];
if (targ == NULL) {
+ struct seeprom_config *sc;
+
targ = ahc_linux_alloc_target(ahc, starget->channel, starget->id);
- struct seeprom_config *sc = ahc->seep_config;
+ sc = ahc->seep_config;
if (targ == NULL)
goto out;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-21 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-21 12:24 2.6.12-rc4-git5 fails compile -- aic7xxx_osm.c Pete Clements
2005-05-21 13:21 ` Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox