commit | 648db0514a3808eead513d7abfaf650d02a64d5c | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Thu Nov 07 09:30:19 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 06 21:46:56 2019 -0800 |
tree | 32d1621a1f2ee16168ba08ccc5a206cec82d8075 | |
parent | c78806f31f2f60da4a16b5e9f55a109b8cfdcf2d [diff] |
net: hns3: add compatible handling for command HCLGE_OPC_PF_RST_DONE Since old firmware does not support HCLGE_OPC_PF_RST_DONE, it will return -EOPNOTSUPP to the driver when received this command. So for this case, it should just print a warning and return success to the caller. Fixes: 72e2fb07997c ("net: hns3: clear reset interrupt status in hclge_irq_handle()") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>