diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/scsi/tmscsim.c linux-2.5/drivers/scsi/tmscsim.c
--- bk-linus/drivers/scsi/tmscsim.c	2002-11-21 02:18:29.000000000 +0000
+++ linux-2.5/drivers/scsi/tmscsim.c	2002-11-21 18:00:59.000000000 +0000
@@ -2521,15 +2521,15 @@ static int dc390_search (char** buffer, 
 
 #define SEARCH(buffer, pos, p0, var, txt, max)						\
 if (dc390_search (&buffer, &pos, &p0, (PUCHAR)(&var), txt, max, 100, "")) goto einv2;	\
-else if (!p1) goto ok2
+else if (!pos) goto ok2
 
 #define SEARCH2(buffer, pos, p0, var, txt, max, scale)					\
 if (dc390_search (&buffer, &pos, &p0, &var, txt, max, scale, "")) goto einv2; 		\
-else if (!p1) goto ok2
+else if (!pos) goto ok2
 
 #define SEARCH3(buffer, pos, p0, var, txt, max, scale, ign)				\
 if (dc390_search (&buffer, &pos, &p0, &var, txt, max, scale, ign)) goto einv2;		\
-else if (!p1) goto ok2
+else if (!pos) goto ok2
 
 
 #ifdef DC390_PARSEDEBUG
