Skip to contentSkip to conversation

typo in patch-2.4.0-ac3.bz2

PATCH Sebastian Br�ckner 1 participant 1 message Jan 7, 2001 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Hi!

There's a typo in patch-2.4.0-ac3.bz2
file drivers/video/vesafb.c

there is a variable "temp_sze" - it has to be "temp_size"

drivers/video/vesafb.c renamed from drivers/video/vesafb.c.old +1 -1
@@ -637,7 +637,7 @@
 		int temp_size = video_size;
 		/* Find the largest power-of-two */
 		while (temp_size & (temp_size - 1))
-                	temp_sze &= (temp_size - 1);
+                	temp_size &= (temp_size - 1);
                         
                 /* Try and find a power of two to add */
 		while (temp_size && mtrr_add(video_base, temp_size, MTRR_TYPE_WRCOMB, 1)==-EINVAL) {