lkml.org 
[lkml]   [2003]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][COMPAT] fix typo in compat_ptr
Sorry about this Linus.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.65-2003032309-32bit.2/include/asm-parisc/compat.h 2.5.65-2003032309-32bit.2a/include/asm-parisc/compat.h
--- 2.5.65-2003032309-32bit.2/include/asm-parisc/compat.h 2003-03-24 14:25:45.000000000 +1100
+++ 2.5.65-2003032309-32bit.2a/include/asm-parisc/compat.h 2003-03-24 17:28:24.000000000 +1100
@@ -112,7 +112,7 @@
*/
typedef u32 compat_uptr_t;

-static inline void *compat_ptr(compat_ptr_t uptr)
+static inline void *compat_ptr(compat_uptr_t uptr)
{
return (void *)uptr;
}
diff -ruN 2.5.65-2003032309-32bit.2/include/asm-ppc64/compat.h 2.5.65-2003032309-32bit.2a/include/asm-ppc64/compat.h
--- 2.5.65-2003032309-32bit.2/include/asm-ppc64/compat.h 2003-03-24 14:25:45.000000000 +1100
+++ 2.5.65-2003032309-32bit.2a/include/asm-ppc64/compat.h 2003-03-24 17:28:33.000000000 +1100
@@ -106,7 +106,7 @@
*/
typedef u32 compat_uptr_t;

-static inline void *compat_ptr(compat_ptr_t uptr)
+static inline void *compat_ptr(compat_uptr_t uptr)
{
return (void *)uptr;
}
diff -ruN 2.5.65-2003032309-32bit.2/include/asm-s390x/compat.h 2.5.65-2003032309-32bit.2a/include/asm-s390x/compat.h
--- 2.5.65-2003032309-32bit.2/include/asm-s390x/compat.h 2003-03-24 14:25:45.000000000 +1100
+++ 2.5.65-2003032309-32bit.2a/include/asm-s390x/compat.h 2003-03-24 17:28:41.000000000 +1100
@@ -109,7 +109,7 @@
*/
typedef u32 compat_uptr_t;

-static inline void *compat_ptr(compat_ptr_t uptr)
+static inline void *compat_ptr(compat_uptr_t uptr)
{
return (void *)(uptr & 0x7fffffffUL);
}
diff -ruN 2.5.65-2003032309-32bit.2/include/asm-sparc64/compat.h 2.5.65-2003032309-32bit.2a/include/asm-sparc64/compat.h
--- 2.5.65-2003032309-32bit.2/include/asm-sparc64/compat.h 2003-03-24 14:25:45.000000000 +1100
+++ 2.5.65-2003032309-32bit.2a/include/asm-sparc64/compat.h 2003-03-24 17:28:48.000000000 +1100
@@ -108,7 +108,7 @@
*/
typedef u32 compat_uptr_t;

-static inline void *compat_ptr(compat_ptr_t uptr)
+static inline void *compat_ptr(compat_uptr_t uptr)
{
return (void *)uptr;
}
diff -ruN 2.5.65-2003032309-32bit.2/include/asm-x86_64/compat.h 2.5.65-2003032309-32bit.2a/include/asm-x86_64/compat.h
--- 2.5.65-2003032309-32bit.2/include/asm-x86_64/compat.h 2003-03-24 14:25:45.000000000 +1100
+++ 2.5.65-2003032309-32bit.2a/include/asm-x86_64/compat.h 2003-03-24 17:28:55.000000000 +1100
@@ -115,7 +115,7 @@
*/
typedef u32 compat_uptr_t;

-static inline void *compat_ptr(compat_ptr_t uptr)
+static inline void *compat_ptr(compat_uptr_t uptr)
{
return (void *)uptr;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.026 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site