net/hinic/base: convert error value to ETIMEDOUT
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Thu, 9 Jul 2020 13:43:02 +0000 (21:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit3260064acc5854cee9ef16378b0aff338cbb8085
treea7ca9c8cdfd3d9ea4c0dee318356e47b4d6fa78e
parent50ce3e7aec8f49b29a566688dff5829a3ffe1d98
net/hinic/base: convert error value to ETIMEDOUT

Following commit updated the error codes:
commit 2ae8e130cf21 ("net/hinic/base: modify returned error values")

In that commit 'ETIME' errors are not used because it is not supported
by FreeBSD, instead in this patch converting relevant error codes to
'ETIMEDOUT'.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/hinic/base/hinic_pmd_hwdev.c
drivers/net/hinic/base/hinic_pmd_hwif.c