]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: Fixes error reported by Kbuild and internal review
authorSalil Mehta <salil.mehta@huawei.com>
Sat, 19 May 2018 15:53:15 +0000 (16:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2018 22:53:58 +0000 (18:53 -0400)
commit743e1a8438e5a37f9ab1846e75a47de8e9cd522f
tree9718147bf7c8d441a155378d02488373b4a040ba
parent52f8560ee4684f8689085817225786dba3399f6f
net: hns3: Fixes error reported by Kbuild and internal review

This patch fixes the error reported by Intel's kbuild and fixes a
return value in one of the legs, caught during review of the original
patch sent by kbuild.

Fixes: fdb793670a00 ("net: hns3: Add support of .sriov_configure in HNS3 driver")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c