ethdev: fix build with icc
authorTetsuya Mukawa <mukawa@igel.co.jp>
Fri, 27 Feb 2015 05:20:34 +0000 (14:20 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Feb 2015 23:14:51 +0000 (00:14 +0100)
commit911920812fb30c1bd13e3baeb82a5f3358e5c445
tree6f95c5eb9f2ae11d578550567286998bdcc006f4
parenta8e3219a92660929a18547f5f70cc3928c9fc865
ethdev: fix build with icc

This patch fixes following errors with icc.
  error #188: enumerated type mixed with another type
    return -1;

Fixes: 92d94d3744d7 ("ethdev: attach or detach port")

Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_ether/rte_ethdev.c