Skip to contentSkip to conversation

kernel-source bug for sparc architecture

DISCUSSION Regis Leclerc 2 participants 2 messages Dec 22, 2004

lore
Share & tools
lore
#0 lore raw

hi,

I am compiling kernel 2.6.9 on a sparc32 architecture (SUN4C) with GCC3.3.4, and found that drivers/video/bw2.c has a compilation problem on line 389.

There is a call that passes &options as 2nd argument, but the "options" variable isn't defined anywhere.

In drivers/video/cg6.c there is the same kind of call, but it passes NULL instead of &options, so I altered bw2.c to replace &options with NULL, so the compilation can go on (it's a part of the make image part).

I am not a specialist of video drivers on sparc32 (I have a CG6, anyway), but I'm reporting this compilation problem so a true specialist of this part of the code can raise an eyebrow on it.

thank you for your attention,
regards,
Regis

Signature · 1 line
Regis Leclerc <[email protected]>
#1 lore raw
Quoted 11 lines · Regis Leclerc

I am compiling kernel 2.6.9 on a sparc32 architecture (SUN4C) with GCC3.3.4, and found that drivers/video/bw2.c has a compilation problem on line 389.
There is a call that passes &options as 2nd argument, but the "options" variable isn't defined anywhere.
In drivers/video/cg6.c there is the same kind of call, but it passes NULL instead of &options, so I altered bw2.c to replace &options with NULL, so the compilation can go on (it's a part of the make image part). I am not a specialist of video drivers on sparc32 (I have a CG6, anyway), but I'm reporting this compilation problem so a true specialist of this part of the code can raise an eyebrow on it.

I've seen a patch for that, but wasn't sure if I should take on a video driver as it's outside of arch/sparc/. If it's not already merged, it will be in a sparc32 release I'll announce later on today.

-- wli