Skip to content

Commit

Permalink
netdev-dpdk: replace uint8_t with dpdk_port_t
Browse files Browse the repository at this point in the history
netdev_dpdk_detach() declares a 'port_id' variable, of type uint8_t.
This variable should instead be of type dpdk_port_t.

Fixes: bb37956 ("netdev-dpdk: Use uint8_t for port_id.")
CC: Ilya Maximets <[email protected]>
Signed-off-by: Mark Kavanagh <[email protected]>
Acked-by: Ilya Maximets <[email protected]>
Signed-off-by: Ian Stokes <[email protected]>
  • Loading branch information
mark-kavanagh authored and istokes committed Nov 16, 2017
1 parent 1ae83bb commit 7ee94cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netdev-dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@ netdev_dpdk_detach(struct unixctl_conn *conn, int argc OVS_UNUSED,
{
int ret;
char *response;
uint8_t port_id;
dpdk_port_t port_id;
char devname[RTE_ETH_NAME_MAX_LEN];
struct netdev_dpdk *dev;

Expand Down

0 comments on commit 7ee94cb

Please sign in to comment.