lkml.org 
[lkml]   [2005]   [May]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromAlexey Dobriyan <>
SubjectRe: 2.6.12-rc4-git5 fails compile -- aic7xxx_osm.c
DateSat, 21 May 2005 17:21:28 +0400
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;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-05-21 15:21    [from the cache]
©2003-2008