From patchwork Fri May 27 17:54:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Raju X-Patchwork-Id: 627317 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3rGYZL6rjKz9t3Z for ; Sat, 28 May 2016 03:55:05 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 79BBC10B26; Fri, 27 May 2016 10:55:03 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e4.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id 109D510B22 for ; Fri, 27 May 2016 10:55:02 -0700 (PDT) Received: from bar5.cudamail.com (unknown [192.168.21.12]) by mx1e4.cudamail.com (Postfix) with ESMTPS id 60FF61E026C for ; Fri, 27 May 2016 11:55:01 -0600 (MDT) X-ASG-Debug-ID: 1464371700-09eadd483714cb0001-byXFYA Received: from mx3-pf2.cudamail.com ([192.168.14.1]) by bar5.cudamail.com with ESMTP id 2djym7GyA40ZLGiF (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 27 May 2016 11:55:00 -0600 (MDT) X-Barracuda-Envelope-From: nithin@vmware.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.1 Received: from unknown (HELO smtp-outbound-1.vmware.com) (208.91.2.12) by mx3-pf2.cudamail.com with ESMTPS (DHE-RSA-AES256-SHA encrypted); 27 May 2016 17:55:00 -0000 Received-SPF: error (mx3-pf2.cudamail.com: error in processing during lookup of vmware.com: DNS problem) X-Barracuda-Apparent-Source-IP: 208.91.2.12 X-Barracuda-RBL-IP: 208.91.2.12 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id A73EF98BC4 for ; Fri, 27 May 2016 10:54:58 -0700 (PDT) Received: from pa-dbc1118.eng.vmware.com (unknown [10.162.210.18]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 562381855D; Fri, 27 May 2016 10:54:59 -0700 (PDT) X-CudaMail-Envelope-Sender: nithin@vmware.com From: Nithin Raju To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-V2-526032558 X-CudaMail-DTE: 052716 X-CudaMail-Originating-IP: 208.91.2.12 Date: Fri, 27 May 2016 10:54:58 -0700 X-ASG-Orig-Subj: [##CM-V2-526032558##][PATCH] list.h: Define OVS_LIST_POISON statically Message-Id: <1464371698-10283-1-git-send-email-nithin@vmware.com> X-Mailer: git-send-email 2.6.2 X-Barracuda-Connect: UNKNOWN[192.168.14.1] X-Barracuda-Start-Time: 1464371700 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-ASG-Whitelist: EmailCat (corporate) Subject: [ovs-dev] [PATCH] list.h: Define OVS_LIST_POISON statically X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Looks like part of the patch committed in e32c1f7c got left out while moving header files. Signed-off-by: Nithin Raju Reported-by: Joe Stringer --- include/openvswitch/list.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/openvswitch/list.h b/include/openvswitch/list.h index 32f83a0..5c2cca4 100644 --- a/include/openvswitch/list.h +++ b/include/openvswitch/list.h @@ -39,9 +39,6 @@ struct ovs_list { static const struct ovs_list OVS_LIST_POISON = { (struct ovs_list *) (UINTPTR_MAX / 0xf * 0xc), (struct ovs_list *) (UINTPTR_MAX / 0xf * 0xc) }; -#define OVS_LIST_POISON \ -(struct ovs_list) { (struct ovs_list *) (uintptr_t) 0xccccccccccccccccULL, \ - (struct ovs_list *) (uintptr_t) 0xccccccccccccccccULL } static inline void ovs_list_init(struct ovs_list *); static inline void ovs_list_poison(struct ovs_list *);