From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=huNX73xbp/l8HLhxrWDKZp6wbV9vkM1kjHz6H1KwXAE=; b=ccI/4gS4HqcQGKa31AZJlFibT8Qfy7tCgUHYJeJXA2oKWcNbb65wCg6CEyU0KT3zAt nJVHpQUGv4Tvg0NJwMTS2FXcI58MOuxEDqeXlru8cBvtTgQwFll4e33/Fp48hxITnb5W dq3ofS/WvUxucpC910ORB81Bo3RR0Vm91eKZRw3QcmzTQmueZ6PmuLqv4EJ85u/HIKs3 tByGc5mRYzL0CP5hyUtwiYgj/wgQ/kL1dyW9kjIbGGsSdPbPoBMuNswdErPMtSR83O6q BR++DztJ+7RvK2FoKzb9pgcJzHQ7Mhgj0Wm0DDtkjHdZG/67hhuSVycuJx00VoR0vYo5 4FCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=huNX73xbp/l8HLhxrWDKZp6wbV9vkM1kjHz6H1KwXAE=; b=k2FjBE/KI1LZjxGe0L9zWVJU43kSi1dTe+/28xyBLobhoFVy6UKcV6g7sIbrHvq+IC QvSv2q3y7rlSAkXXv+HBUWmAiSEMjjzVb3GevTbXV8+HIRZ7MxpT/5dK+DSh2euAHa/i mAKqdGN+AQPiKDqXu5YCWsNXQ3WDneRnlFN8qRCBfEhCYHQIvN/uaUwHWDlEpej2fEp7 Y/fLpirlyjEyqfQVTRxeqqplNoMBDe8f4E9c9dEZxVZ/TwSmN/tfgIoe2gVov6PAzjEa 8K2qulKMSW9RAGYs+hreRGCI44Oky29YZjGeAmbxYLHCALBNsFP0njUBy6KjqZgLFiPb nDoA== X-Gm-Message-State: AHYfb5h2a+4GS+a16amtwzZlcxdnDBfjeogjlL1hAf99eepU1pn3vHm9 Az4/7HWowS+B7kFiCjw1/w== X-Received: by 10.84.193.36 with SMTP id e33mr9285728pld.0.1502290115972; Wed, 09 Aug 2017 07:48:35 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id m127sm7239668pfc.37.2017.08.09.07.48.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Aug 2017 07:48:35 -0700 (PDT) Date: Wed, 9 Aug 2017 07:48:31 -0700 From: Stephen Hemminger To: Zhiyong Yang Cc: dev@dpdk.org, thomas@monjalon.net Message-ID: <20170809074831.4630785c@xeon-e3> In-Reply-To: <20170809084203.17562-3-zhiyong.yang@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH 2/2] examples: increase port_id range X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 14:48:36 -0000 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.