Skip to contentSkip to conversation

Problems in cs66xx.c with undefined int long and gcc 3.3.1 Kernel

PATCH Cemil Degirmenci 1 participant 1 message Jul 31, 2003 Sound

lore
Share & tools
lore
#0 lore raw

Hello,

Hello,

this is my first bugreport Ever for the Linux-Kernel so don't blame me :)

There is a problem compiling the cs46xx.c with gcc 3.3.1 in 2.4.20 and 2.4.21 int long is undefined, so the compiler crashed. A Workarround is here in this patch.

cs46xx.c 2003-07-28 00:21:11.000000000 +0200 renamed from cs46-oldxx.c 2003-07-31 20:28:35.000000000 +0200 +2 -2
@@ -947,8 +947,8 @@
 
 struct InitStruct
 {
-    u32 long off;
-    u32 long val;
+    u32 off;
+    u32 val;
 } InitArray[] = { {0x00000040, 0x3fc0000f},
                   {0x0000004c, 0x04800000},
 
Signature · 4 lines
Mit freundlichen Gruessen,

Cemil Degirmenci
[email protected]