bug in linux-2.4.19/drivers/video/radeonfb.c

From: Pilaszy Istvan (pila@inf.bme.hu)
Date: Sat Nov 02 2002 - 12:55:51 EST


Hi!

I found a bug in the linux kernel source code, in radeonfb.c
I mailed it to the author 2 weeks ago, but no answer...

On line summary of the problem:
Linux kernel 2.4.19 compile fails on drivers/video/radeonfb.c, when
I turn the option `Console Drivers -> Frame-buffer support -> 32 bpp
packed pixels support' on (or something like this).

Environment:
AMD Thunderbird 850MHz, linux 2.4.19, Debian SID distribution,
/proc/version: Linux version 2.4.19 (root@server686) (gcc version 2.95.4
            20010703 (Debian prerelease)) #2 Thu Aug 29 20:06:37 CEST 2002

Solution: (I attached a diff -Naur)
I replaced line 1719 of the source code
of linux-2.4.19/drivers/video/radeonfb.c:
The original was:
#ifdef FBCON_HAS_CFB24
The corrected line is:
#ifdef FBCON_HAS_CFB32

With this modification I can compile the kernel, and it works well.

Bye,
Istvan



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



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:25 EST