public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] typo in vesafb.c (against 2.4.0-ac3)
@ 2001-01-07 18:06 stewart
  0 siblings, 0 replies; 2+ messages in thread
From: stewart @ 2001-01-07 18:06 UTC (permalink / raw)
  To: linux-kernel, Alan Cox


this looks like a typo and fixes a compile error in
2.4.0-ac3.


--- drivers/video/vesafb.c.old	Sun Jan  7 12:18:13 2001
+++ drivers/video/vesafb.c	Sun Jan  7 12:18:23 2001
@@ -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) {





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] typo in vesafb.c (against 2.4.0-ac3)
@ 2001-01-07 20:35 Michael D. Crawford
  0 siblings, 0 replies; 2+ messages in thread
From: Michael D. Crawford @ 2001-01-07 20:35 UTC (permalink / raw)
  To: linux-kernel

stewart@neuron.com said:
> 
> this looks like a typo and fixes a compile error in 
> 2.4.0-ac3. 

(replacing temp_sze with temp_size in drivers/video/vesafb.c)

I had this problem too.

For some reason this patch kept getting rejected by the patch program when I
tried to apply it, but editing the file by hand to do what the patch does fixed
the problem.

Mike
-- 
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com/
crawford@goingware.com

   Tilting at Windmills for a Better Tomorrow.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-08  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-07 20:35 [PATCH] typo in vesafb.c (against 2.4.0-ac3) Michael D. Crawford
  -- strict thread matches above, loose matches on Subject: below --
2001-01-07 18:06 stewart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox