From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 2/2] examples: increase port_id range Date: Wed, 9 Aug 2017 07:48:31 -0700 Message-ID: <20170809074831.4630785c@xeon-e3> References: <20170809084203.17562-1-zhiyong.yang@intel.com> <20170809084203.17562-3-zhiyong.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, thomas@monjalon.net To: Zhiyong Yang Return-path: Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by dpdk.org (Postfix) with ESMTP id 9C0E22647 for ; Wed, 9 Aug 2017 16:48:36 +0200 (CEST) Received: by mail-pg0-f52.google.com with SMTP id u5so29018244pgn.0 for ; Wed, 09 Aug 2017 07:48:36 -0700 (PDT) In-Reply-To: <20170809084203.17562-3-zhiyong.yang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 9 Aug 2017 16:42:03 +0800 Zhiyong Yang wrote: > - BOND_PORT = (uint8_t)retval; > + BOND_PORT = (uint16_t)retval; > The cast here is unnecessary (in C). Please remove it.