diff options
author | Huazhong Tan | 2019-11-07 09:30:19 +0800 |
---|---|---|
committer | David S. Miller | 2019-11-06 21:46:56 -0800 |
commit | 648db0514a3808eead513d7abfaf650d02a64d5c (patch) | |
tree | 32d1621a1f2ee16168ba08ccc5a206cec82d8075 /drivers/nvmem/meson-efuse.c | |
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>
Diffstat (limited to 'drivers/nvmem/meson-efuse.c')
0 files changed, 0 insertions, 0 deletions