On 9/6/19 4:29 PM, Aaron Conole wrote:
Andrew Rybchenko <arybche...@solarflare.com> writes:
From: Ivan Ilchenko <ivan.ilche...@oktetlabs.ru>
Change eth_dev_infos_get_t return value from void to int.
Make eth_dev_infos_get_t implementations across all drivers to return
negative errno values if case of error conditions.
Signed-off-by: Ivan Ilchenko <ivan.ilche...@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybche...@solarflare.com>
---
This patch needs a respin.
../drivers/net/atlantic/atl_ethdev.c
../drivers/net/atlantic/atl_ethdev.c:123:12: error: conflicting types for
‘atl_dev_info_get’
static int atl_dev_info_get(struct rte_eth_dev *dev,
^
../drivers/net/atlantic/atl_ethdev.c:48:13: note: previous declaration of
‘atl_dev_info_get’ was here
static void atl_dev_info_get(struct rte_eth_dev *dev,
Looks like the function prototype appears twice in the .c file - I
suggest removing one of them.
It is already done:
http://git.dpdk.org/next/dpdk-next-net/commit/?id=2c9202612408baf748609d3ee4e49cc183e0366c