[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2419.4a66eadd.ced9e@altium.nl>
Date: Wed, 22 Jul 2009 10:33:01 -0000
From: dick.streefland@...ium.nl (Dick Streefland)
To: linux-kernel@...r.kernel.org
Subject: Re: Linux 2.6.27.27
Krzysztof Oledzki <olel@....pl> wrote:
| Here is a diff between a good and a bad kernel:
|
| -edid_checksum debug: csum=0, all_null=255, err=1
| -edid_checksum debug: csum=0, all_null=255, err=1
| -Console: switching to colour frame buffer device 128x48
| +edid_checksum debug: csum=6400, all_null=255, err=0
| +Console: switching to colour frame buffer device 80x30
|
| In the good one the function is called twice and it returns err=1 (==OK).
| In the bad kernel it returns 0 because csum!=0x00 (==6400).
Linus accidentally dropped the "char" from the declaration of "csum" and
"all_null":
> - unsigned char i, csum = 0, all_null = 0;
> - int err = 0, fix = check_edid(edid);
> + unsigned csum = 0, all_null = 0;
> + int i, err = 0, fix = check_edid(edid);
--
Dick Streefland //// Altium BV
dick.streefland@...ium.nl (@ @) http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists