Skip to contentSkip to conversation

2.5.70-mm2: aha1740.c doesn't compile. (fwd)

PATCH New Adrian Bunk 1 participant 1 message Jun 17, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.70-mm2: aha1740.c doesn't compile. (fwd)

The problem described below still exists in 2.5.72. A patch to fix it is:

drivers/scsi/aha1740.c renamed from drivers/scsi/aha1740.c.old +1 -0
@@ -102,6 +102,7 @@
     if (len > length)
 	len = length;
     return len;
+}
 
 
 static int aha1740_makecode(unchar *sense, unchar *status)

I've tested the compilation with 2.5.72.

Please apply
Adrian

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Thu, 29 May 2003 21:40:03 +0200
From: Adrian Bunk <[email protected]>
To: Andrew Morton <[email protected]>,
Christoph Hellwig <[email protected]>
Cc: [email protected],
[email protected]
Subject: [patch] 2.5.70-mm2: aha1740.c doesn't compile.

It seems the following compile error comes from Linus' tree:

<-- snip -->

...
CC drivers/scsi/aha1740.o
...
drivers/scsi/aha1740.c:613: syntax error at end of input
...
make[2]: *** [drivers/scsi/aha1740.o] Error 1

<-- snip -->

The culprit is the following bogus part of a patch (please _revert_ it):

linux-2.5.70/drivers/scsi/aha1740.c 2003-05-26 19:16:33.000000000 -0700
25/drivers/scsi/aha1740.c 2003-05-28 23:52:00.000000000 -0700
@@ -108,7 +102,6 @@ static int aha1740_proc_info(char *buffe
if (len > length)

 	len = length;
     return len;

-}

static int aha1740_makecode(unchar *sense, unchar *status)

cu
Adrian

Signature · 12 lines
       "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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

----- End forwarded message -----