]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: fix error type definition of return value
authorJian Shen <shenjian15@huawei.com>
Sat, 10 Mar 2018 03:29:30 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 02:53:32 +0000 (22:53 -0400)
commitaa7a795eecca4cd02557d2fd3cbc128ecc1e93c9
treeded8f3c7ea95108f0d5dc8fe2c847823f5cb87e6
parent5d02a58dae60bf71a32625ec510b116ee22faebc
net: hns3: fix error type definition of return value

An enum type variable was used to store an "int" type return value.
This patch fixes it.

Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c