Re: Linux 2.5.20-dj1
James Simmons (jsimmons@transvirtual.com)
Tue, 4 Jun 2002 09:41:34 -0700 (PDT)
>         -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;
Thank you. I just added to the fbdev BK repository.
-
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/