Re: Linux 2.5.20-dj1

A Guy Called Tyketto (tyketto@wizard.com)
Tue, 4 Jun 2002 00:07:21 -0700


On Tue, Jun 04, 2002 at 01:00:29AM +0100, Dave Jones wrote:
> Just a resync against 2.5.20, I'll start digging through
> the rather large patch queue next time, after pushing another
> load of this to Linus..
>

-dj1 oopsed on me at bootup, when kicking in the framebuffer (ATI Rage
128/Radeon). The following patch fixed it for me. It's a variant of the patch
sent in earlier for the same problem. -dj1 fixed pat of it, this should fix
the rest.

--- linux/drivers/video/fbcmap.c.bork Mon Jun 3 19:08:43 2002
+++ linux/drivers/video/fbcmap.c Mon Jun 3 19:09:45 2002
@@ -150,7 +150,7 @@
else
tooff = from->start-to->start;
size = to->len-tooff;
- if (size > from->len-fromoff)
+ if (size > (int)(from->len-fromoff))
size = from->len-fromoff;
if (size <= 0)
return;

BL.

-- 
Brad Littlejohn                         | Email:        tyketto@wizard.com
Unix Systems Administrator,             |           tyketto@ozemail.com.au
Web + NewsMaster, BOFH.. Smeghead! :)   |   http://www.wizard.com/~tyketto
  PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569  F620 C819 199A E319 F0BF

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