Skip to contentSkip to conversation

typo fixe in parisc memcpy

PATCH New rubisher 1 participant 1 message Mar 29, 2008 PA-RISC architecture

lore
Share & tools
lore

rubisher

author
#0 lore raw

PATCH 1/1 typo fixe in parisc memcpy

Hello Kyle,

As discussed by this thread <http://www.mail-archive.com/[email protected]/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>

arch/parisc/lib/memcpy.c 2008-01-05 13:58:01.000000000 +0000 renamed from arch/parisc/lib/memcpy.c 2008-01-05 13:57:26.000000000 +0000 +1 -1
Index: linux-current/arch/parisc/lib/memcpy.c
===================================================================
@@ -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.