* [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
* Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".
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
0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2007-04-10 12:07 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton
On Tue, Apr 10, 2007 at 06:23:27AM -0400, Robert P. J. Day wrote:
> Replace what appears to be an incorrect spelling of "__typeof" with
> the correct spelling of "__typeof__".
Not a bug, just old fashioned.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".
2007-04-10 12:07 ` Ralf Baechle
@ 2007-04-10 12:54 ` Robert P. J. Day
2007-04-12 9:25 ` Ralf Baechle
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2007-04-10 12:54 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Linux Kernel Mailing List, Andrew Morton
On Tue, 10 Apr 2007, Ralf Baechle wrote:
> On Tue, Apr 10, 2007 at 06:23:27AM -0400, Robert P. J. Day wrote:
>
> > Replace what appears to be an incorrect spelling of "__typeof"
> > with the correct spelling of "__typeof__".
>
> Not a bug, just old fashioned.
i suspected as much, but i was just going by the docs which explicitly
mention "__typeof__" but say nothing about "__typeof". besides, it's
the *only* non-comment occurrence in the *entire* source tree. do you
really want to stand out in a crowd like that? :-)
rday
--
========================================================================
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 [flat|nested] 4+ messages in thread
* Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".
2007-04-10 12:54 ` Robert P. J. Day
@ 2007-04-12 9:25 ` Ralf Baechle
0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2007-04-12 9:25 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton
On Tue, Apr 10, 2007 at 08:54:02AM -0400, Robert P. J. Day wrote:
> > > Replace what appears to be an incorrect spelling of "__typeof"
> > > with the correct spelling of "__typeof__".
> >
> > Not a bug, just old fashioned.
>
> i suspected as much, but i was just going by the docs which explicitly
> mention "__typeof__" but say nothing about "__typeof". besides, it's
> the *only* non-comment occurrence in the *entire* source tree. do you
> really want to stand out in a crowd like that? :-)
Well, that is a different question and indeed is getting a different
answer :-)
Ralf
^ permalink raw reply [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