From patchwork Thu Aug 20 10:45:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arturo Borrero Gonzalez X-Patchwork-Id: 509000 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 11A5114028E for ; Thu, 20 Aug 2015 21:28:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751257AbbHTL2T (ORCPT ); Thu, 20 Aug 2015 07:28:19 -0400 Received: from smtp3.cica.es ([150.214.5.190]:57212 "EHLO smtp.cica.es" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751016AbbHTL2S (ORCPT ); Thu, 20 Aug 2015 07:28:18 -0400 X-Greylist: delayed 2575 seconds by postgrey-1.27 at vger.kernel.org; Thu, 20 Aug 2015 07:28:18 EDT Received: from localhost (unknown [127.0.0.1]) by smtp.cica.es (Postfix) with ESMTP id C359351F175; Thu, 20 Aug 2015 11:28:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at cica.es Received: from smtp.cica.es ([127.0.0.1]) by localhost (mail.cica.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ptIzL8pvaMwb; Thu, 20 Aug 2015 13:28:11 +0200 (CEST) Received: by smtp.cica.es (Postfix, from userid 89) id 38E1F51F15F; Thu, 20 Aug 2015 13:02:04 +0200 (CEST) Received: from localhost (unknown [127.0.0.1]) by smtp.cica.es (Postfix) with ESMTP id 1A36351F117; Thu, 20 Aug 2015 10:45:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at cica.es Received: from smtp.cica.es ([127.0.0.1]) by localhost (mail.cica.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UM31k2YRgxb8; Thu, 20 Aug 2015 12:45:21 +0200 (CEST) Received: from r2d2.cica.es (r2d2.cica.es [IPv6:2a00:9ac0:c1ca:27::150]) by smtp.cica.es (Postfix) with ESMTP id A48CB51F0ED; Thu, 20 Aug 2015 12:45:20 +0200 (CEST) Subject: [conntrack-tools PATCH] list: fix prefetch dummy From: Arturo Borrero Gonzalez To: netfilter-devel@vger.kernel.org Cc: kaber@trash.net, pablo@netfilter.org Date: Thu, 20 Aug 2015 12:45:20 +0200 Message-ID: <20150820104520.23066.45825.stgit@r2d2.cica.es> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org From: Arturo Borrero Gonzalez [...] CC conntrack.o In file included from ../include/conntrack.h:4:0, from conntrack.c:41: conntrack.c: In function ‘findproto’: ../include/linux_list.h:385:59: warning: right-hand operand of comma expression has no effect [-Wunused-value] for (pos = list_entry((head)->next, typeof(*pos), member), \ ^ [...] The original patch is from Patrick McHardy . Signed-off-by: Arturo Borrero Gonzalez --- include/linux_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux_list.h b/include/linux_list.h index de182a4..efffb91 100644 --- a/include/linux_list.h +++ b/include/linux_list.h @@ -29,7 +29,7 @@ 1; \ }) -#define prefetch(x) 1 +#define prefetch(x) ((void)0) /* empty define to make this work in userspace -HW */ #ifndef smp_wmb