net/hns3: add error code to some logs
authorLijun Ou <oulijun@huawei.com>
Wed, 29 Apr 2020 11:13:24 +0000 (19:13 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:26 +0000 (15:54 +0200)
commit8eed8acc812e3a11270e9b30c2a7b429a3c865e6
tree48034d0e8b408de646aba5fbba64d9bee4b39d51
parentc4b7d6761d01d80cd975f47bf5c850721b891b61
net/hns3: add error code to some logs

Here adds some prints for return value when the relative function fails
and enter the exception branch.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_dcb.c
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_fdir.c