[Patch] typo fixe in parisc memcpy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Kyle,

As discussed by this thread <http://www.mail-archive.com/linux-parisc@xxxxxxxxxxxxxxx/msg00058.html>
may I re-submit you this hunk:

a fixe of likely's macro usage:
Signed-off-by: Joel Soete <soete dot joel at scarlet dot be>
Index: linux-current/arch/parisc/lib/memcpy.c
===================================================================
--- linux-current.orig/arch/parisc/lib/memcpy.c    2008-01-05 13:57:26.000000000 +0000
+++ linux-current/arch/parisc/lib/memcpy.c    2008-01-05 13:58:01.000000000 +0000
@@ -405,7 +405,7 @@

 unaligned_copy:
     /* possibly we are aligned on a word, but not on a double... */
-    if (likely(t1 & (sizeof(unsigned int)-1)) == 0) {
+    if (likely((t1 & (sizeof(unsigned int) - 1)) == 0)) {
         t2 = src & (sizeof(unsigned int) - 1);

         if (unlikely(t2 != 0)) {
=== <> ===

Tia,
	r.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux