[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140923101058.29652.qmail@ns.horizon.com>
Date: 23 Sep 2014 06:10:58 -0400
From: "George Spelvin" <linux@...izon.com>
To: linux-ext4@...r.kernel.org
Cc: dhowells@...hat.com, linux@...izon.com, tytso@....edu
Subject: [PATCH v1 3/10] byteorder: Fix some erroneous comments
The prototypes obviously didn't make sense.
Signed-off-by: George Spelvin <linux@...izon.com>
Cc: David Howells <dhowells@...hat.com>
---
I'm not sure who to submit this through. Obviously, it's
hardly a critical bug fix, but it's potentially confusing.
include/linux/byteorder/generic.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/linux/byteorder/generic.h b/include/linux/byteorder/generic.h
index 0846e6b9..37b3d9d6 100644
--- a/include/linux/byteorder/generic.h
+++ b/include/linux/byteorder/generic.h
@@ -70,12 +70,12 @@
* [bl]eXX_to_cpu(__uXX x)
*
* The same, but takes a pointer to the value to convert
- * cpu_to_[bl]eXXp(__uXX x)
- * [bl]eXX_to_cpup(__uXX x)
+ * cpu_to_[bl]eXXp(const __uXX *x)
+ * [bl]eXX_to_cpup(const __uXX *x)
*
* The same, but change in situ
- * cpu_to_[bl]eXXs(__uXX x)
- * [bl]eXX_to_cpus(__uXX x)
+ * cpu_to_[bl]eXXs(__uXX *x)
+ * [bl]eXX_to_cpus(__uXX *x)
*
* See asm-foo/byteorder.h for examples of how to provide
* architecture-optimized versions
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists