kerne-2.4.0-test13pre3 with gcc-2.97
Thomas Sailer
sailer at ife.ee.ethz.ch
Mon Dec 25 02:16:09 EST 2000
Kaoru Fukui wrote:
> The gcc-2.97 makes singleCPU work kernel well,
> But the smp kernel didn't work.
> diff -urN base/linux/drivers/usb/audio.c fixed/linux/drivers/usb/audio.c
> --- base/linux/drivers/usb/audio.c Fri Dec 22 13:47:44 2000
> +++ fixed/linux/drivers/usb/audio.c Sat Dec 23 12:18:21 2000
> @@ -788,7 +788,7 @@
> {
> union {
> __s16 s[64];
> - unsigned char b[0];
> + unsigned char *b;
> } tmp;
> unsigned int scnt, maxs, ufmtsh, dfmtsh;
>
> @@ -1139,7 +1139,7 @@
> {
> union {
> __s16 s[64];
> - unsigned char b[0];
> + unsigned char *b;
> } tmp;
> unsigned int scnt, maxs, ufmtsh, dfmtsh;
>
This patch is completely bogus. I do not believe you tested these
code paths, it just cannot work that way.
Tom
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list