Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754270AbaBUKda (ORCPT ); Fri, 21 Feb 2014 05:33:30 -0500 Received: from nat28.tlf.novell.com ([130.57.49.28]:45218 "EHLO nat28.tlf.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754177AbaBUKd3 convert rfc822-to-8bit (ORCPT ); Fri, 21 Feb 2014 05:33:29 -0500 Message-Id: <53073986020000780011E2E1@nat28.tlf.novell.com> X-Mailer: Novell GroupWise Internet Agent 12.0.2 Date: Fri, 21 Feb 2014 10:33:26 +0000 From: "Jan Beulich" To: , , Cc: , , , , Subject: [PATCH 2/3] x86/hash: swap parameters of crc32_u32() Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ... to match its two callers (i.e. the alternative would have been to swap the arguments at the call sites). Signed-off-by: Jan Beulich Cc: Francesco Fusco Cc: Daniel Borkmann Cc: Thomas Graf Cc: David S. Miller --- arch/x86/lib/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 3.14-rc3-x86-hash-crc32.orig/arch/x86/lib/hash.c +++ 3.14-rc3-x86-hash-crc32/arch/x86/lib/hash.c @@ -37,7 +37,7 @@ #include #include -static inline u32 crc32_u32(u32 crc, u32 val) +static inline u32 crc32_u32(u32 val, u32 crc) { #ifdef CONFIG_AS_CRC32 asm ("crc32l %1,%0\n" : "+r" (crc) : "rm" (val)); -- 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/