Re: linux-2.4.20 fails to build with aic7xxx

Marc-Christian Petersen (m.c.p@wolk-project.de)
Fri, 6 Dec 2002 17:31:13 +0100


--------------Boundary-00=_1WHP0NRYLGWF8XE2NH3F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Ralf,

> yacc -d -b aicasm_gram aicasm_gram.y
> aicasm_gram.y:921.21: parse error, unexpected ":", expecting ";" or "|"
> aicasm_gram.y:936.2-5: $$ of critical_section_start' has no declared ty=
pe
> aicasm_gram.y:938.2-5: $$ of critical_section_start' has no declared ty=
pe
> make[6]: *** [aicasm_gram.h] Error 1
the fix is imho the easiest fix anyone ever done on earth ;)

attached!

ciao, Marc

--------------Boundary-00=_1WHP0NRYLGWF8XE2NH3F
Content-Type: text/x-diff;
charset="us-ascii";
name="175_aic7xxx-build-fix.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="175_aic7xxx-build-fix.patch"

--- linux-old/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 2002-09-27 23:25:52.000000000 +0200
+++ linux-wolk4/drivers/scsi/aicasm_gram.y 2002-12-06 17:28:03.000000000 +0100
@@ -917,6 +917,7 @@
cs->begin_addr = instruction_ptr;
in_critical_section = TRUE;
}
+;

critical_section_end:
T_END_CS ';'

--------------Boundary-00=_1WHP0NRYLGWF8XE2NH3F--

-
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/