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 14:38:00 +0000 (15:38 +0100)
commit0cc8bd14e94d9feb4563ae76018359cf7794b654
tree28b0640abf6736266369f54ba7863f9e31324cf3
parentebf233fd40bfc70e53ac9ba6b46ec7b3439c3da1
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