Re: kerne-2.4.0-test13pre3 with gcc-2.97
From: Thomas Sailer <hidden>
Date: 2000-12-24 15:16:09
Kaoru Fukui wrote:
The gcc-2.97 makes singleCPU work kernel well, But the smp kernel didn't work.
quoted hunk ↗ jump to hunk
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/