net/hinic/base: modify returned error values
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Sat, 27 Jun 2020 03:55:48 +0000 (11:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commit2ae8e130cf21e91fc0a5bef8a96b2782d9fe7654
tree10d06cc1c6bb654fc9bf43e5684ffa7650a4106e
parent0023e525a52cd5c9463332c5f5b9e95a4c07d938
net/hinic/base: modify returned error values

Modify return errors with Linux system errors when
system requests fail.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/base/hinic_pmd_cfg.c
drivers/net/hinic/base/hinic_pmd_hwdev.c
drivers/net/hinic/base/hinic_pmd_niccfg.c
drivers/net/hinic/base/hinic_pmd_nicio.c