From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/5] bnx2x: Fix x86_64-native-linuxapp-clang build error Date: Fri, 23 Oct 2015 18:42:31 +0200 Message-ID: <2165749.fmlpNCHWa5@xps13> References: <1442018576-19981-1-git-send-email-rasesh.mody@qlogic.com> <9286039.TySdo1XAUF@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Sony Chacko To: Harish Patil Return-path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id 446C9234 for ; Fri, 23 Oct 2015 18:43:38 +0200 (CEST) Received: by wikq8 with SMTP id q8so84881751wik.1 for ; Fri, 23 Oct 2015 09:43:38 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-10-23 16:36, Harish Patil: > > > >2015-09-11 17:42, Rasesh Mody: > >> #define SHMEM_EEE_ADV_STATUS_MASK 0x00f00000 > >> #define SHMEM_EEE_100M_ADV (1<<0) > >> - #define SHMEM_EEE_1G_ADV (1<<1) > >> + #define SHMEM_EEE_1G_ADV (1U<<1) > >> #define SHMEM_EEE_10G_ADV (1<<2) > > > >Why other constants are not changed? > I only addressed the build error which is against SHMEM_EEE_1G_ADV. > Is that okay? I would say no but you have the ownership on this code. Please think which code quality you are expecting. > This message and any attached documents contain information from the sending company or its parent company(s), subsidiaries, divisions or branch offices that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. Please remove this footer, irrelevant on a mailing list.