On Sun, May 26, 2002 at 12:53:14AM -0700, A Guy Called Tyketto wrote:
> >>EIP; c01cbd2d <fb_copy_cmap+9d/2b0> <=====
This oops has existed over several 2.5 versions. The following was thrown
around to fix it (I don't remember who though).
--- orig/drivers/video/fbcmap.c Fri May 3 11:12:44 2002
+++ linux/drivers/video/fbcmap.c Fri May 10 19:39:38 2002
@@ -150,9 +150,9 @@
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)
+ if (size <= 0)
return;
size *= sizeof(u16);
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- 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 : Fri May 31 2002 - 22:00:17 EST