From: Harvey Harrison <harvey.harrison@gmail.com>
To: linux-arch <linux-arch@vger.kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH-FIX 1/4] fix extra underscore on in-place byteswapping methods
Date: Fri, 23 May 2008 15:38:27 -0700 [thread overview]
Message-ID: <1211582307.6888.48.camel@brick> (raw)
In-Reply-To: <1211580536.6888.43.camel@brick>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
include/linux/swab.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/swab.h b/include/linux/swab.h
index 4898f74..102b992 100644
--- a/include/linux/swab.h
+++ b/include/linux/swab.h
@@ -141,7 +141,7 @@ static inline __u32 __swahb32p(const __u32 *p)
#endif
}
-static inline void ___swab16s(__u16 *p)
+static inline void __swab16s(__u16 *p)
{
#ifdef HAVE_ARCH_SWAB16S
__arch_swab16s(p);
@@ -150,7 +150,7 @@ static inline void ___swab16s(__u16 *p)
#endif
}
-static inline void ___swab32s(__u32 *p)
+static inline void __swab32s(__u32 *p)
{
#ifdef HAVE_ARCH_SWAB32S
__arch_swab32s(p);
@@ -159,7 +159,7 @@ static inline void ___swab32s(__u32 *p)
#endif
}
-static inline void ___swab64s(__u64 *p)
+static inline void __swab64s(__u64 *p)
{
#ifdef HAVE_ARCH_SWAB64S
__arch_swab64s(p);
@@ -168,7 +168,7 @@ static inline void ___swab64s(__u64 *p)
#endif
}
-static inline void ___swahw32s(__u32 *p)
+static inline void __swahw32s(__u32 *p)
{
#ifdef HAVE_ARCH_SWAHW32S
__arch_swahw32s(p);
@@ -177,7 +177,7 @@ static inline void ___swahw32s(__u32 *p)
#endif
}
-static inline void ___swahb32s(__u32 *p)
+static inline void __swahb32s(__u32 *p)
{
#ifdef HAVE_ARCH_SWAHB32S
__arch_swahb32s(p);
--
1.5.5.1.579.g4e43
prev parent reply other threads:[~2008-05-23 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-23 22:08 [PATCH 1/4] include: add linux/byteorder.h and linux/swab.h Harvey Harrison
2008-05-23 22:38 ` Harvey Harrison [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1211582307.6888.48.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-arch@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox