2.6.12-rc4-git5 fails compile -- aic7xxx_osm.c
Subsystems (2)
fyi:
CC drivers/scsi/aic7xxx/aic7xxx_osm.odrivers/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
Signature · 1 line
Pete Clements
Quoted 4 lines · Pete Clements
CC
drivers/scsi/aic7xxx/aic7xxx_osm.odrivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_slave_alloc':drivers/scsi/aic7xxx/aic7xxx_osm.c:663: parse error beforestruct' drivers/scsi/aic7xxx/aic7xxx_osm.c:667:sc' undeclared (first use in this function)
Just sent this to James Bottomley.
drivers/scsi/aic7xxx/aic7xxx_osm.c +3 -1
@@ -659,8 +659,10 @@ ahc_linux_slave_alloc(struct scsi_deviceahc_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;