Thread (100 messages) 100 messages, 16 authors, 2017-10-12

Re: [PATCH 2/2] examples: increase port_id range

From: Yang, Zhiyong <hidden>
Date: 2017-08-10 01:03:42

Hi, Stephen:
-----Original Message-----
From: Stephen Hemminger [mailto:stephen@networkplumber.org]
Sent: Wednesday, August 9, 2017 10:49 PM
To: Yang, Zhiyong <redacted>
Cc: dev@dpdk.org; thomas@monjalon.net
Subject: Re: [dpdk-dev] [PATCH 2/2] examples: increase port_id range

On Wed,  9 Aug 2017 16:42:03 +0800
Zhiyong Yang [off-list ref] wrote:
quoted
-	BOND_PORT = (uint8_t)retval;
+	BOND_PORT = (uint16_t)retval;
The cast here is unnecessary (in C). Please remove it.
Ok, remove it.

Thanks
Zhiyong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help