net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED
authorYunsheng Lin <linyunsheng@huawei.com>
Tue, 22 Jan 2019 23:39:34 +0000 (07:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:21:16 +0000 (09:21 +0100)
commit9b40977f6e8d4b4e879dbdb2bf702ebca1843f91
treeea23c25a9840d19f5db50650c5398e0dd9c79bc8
parent1a5df073d06cfe457ff04ffd3d7172617b06f527
net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED

[ Upstream commit 4a402f47cfce904051cd8b31bef4fe2910d9dce9 ]

According to firmware error code definition, the error code of 2
means NOT_SUPPORTED, this patch changes it to NOT_SUPPORTED.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h