public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS:  Replace incorrect "__typeof" with "__typeof__".
@ 2007-04-10 10:23 Robert P. J. Day
  2007-04-10 12:07 ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2007-04-10 10:23 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Ralf Baechle, Andrew Morton


Replace what appears to be an incorrect spelling of "__typeof" with
the correct spelling of "__typeof__".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

diff --git a/include/asm-mips/paccess.h b/include/asm-mips/paccess.h
index 147844e..8c08fa9 100644
--- a/include/asm-mips/paccess.h
+++ b/include/asm-mips/paccess.h
@@ -34,7 +34,7 @@ struct __large_pstruct { unsigned long buf[100]; };
 #define __get_dbe(x,ptr,size)						\
 ({									\
 	long __gu_err;							\
-	__typeof(*(ptr)) __gu_val;					\
+	__typeof__(*(ptr)) __gu_val;					\
 	unsigned long __gu_addr;					\
 	__asm__("":"=r" (__gu_val));					\
 	__gu_addr = (unsigned long) (ptr);				\

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

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

end of thread, other threads:[~2007-04-12  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 10:23 [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__" Robert P. J. Day
2007-04-10 12:07 ` Ralf Baechle
2007-04-10 12:54   ` Robert P. J. Day
2007-04-12  9:25     ` Ralf Baechle

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