git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/hns3: fix error code for firmware timeout
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_cmd.c
diff --git
a/drivers/net/hns3/hns3_cmd.c
b/drivers/net/hns3/hns3_cmd.c
index
3eebfdd
..
58776c2
100644
(file)
--- a/
drivers/net/hns3/hns3_cmd.c
+++ b/
drivers/net/hns3/hns3_cmd.c
@@
-359,7
+359,7
@@
static int hns3_cmd_poll_reply(struct hns3_hw *hw)
timeout++;
} while (timeout < hw->cmq.tx_timeout);
hns3_err(hw, "Wait for reply timeout");
- return -E
BAD
E;
+ return -E
TIM
E;
}
/*