| Kernel v2.4.1 /drivers/video/vfb.c |
|---|
 2.4.1
 drivers
 video
 vfb.c
diff -u --recursive --new-file v2.4.0/linux/drivers/video/vfb.c linux/drivers/video/vfb.c
--- v2.4.0/linux/drivers/video/vfb.c Tue Nov 7 10:59:43 2000
+++ linux/drivers/video/vfb.c Wed Jan 17 13:27:16 2001
@@ -461,7 +461,7 @@
{
u_long length;
- length = (xres_virtual+bpp-1)/bpp;
+ length = xres_virtual*bpp;
length = (length+31)&-32;
length >>= 3;
return(length);
|