projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3846f
)
s390/qeth: don't warn for napi with 0 budget
author
Julian Wiedmann
<jwi@linux.ibm.com>
Thu, 20 Feb 2020 14:54:55 +0000
(15:54 +0100)
committer
David S. Miller
<davem@davemloft.net>
Thu, 20 Feb 2020 18:30:47 +0000
(10:30 -0800)
Calling napi->poll() with 0 budget is a legitimate use by netpoll.
Fixes: a1c3ed4c9ca0 ("qeth: NAPI support for l2 and l3 discipline")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_core_main.c
b/drivers/s390/net/qeth_core_main.c
index 9639938581f58e3b0c4151260ce34046b49eeced..2264c6619def0a0815a3a9ebb632a3f1c29779fb 100644
(file)
--- a/
drivers/s390/net/qeth_core_main.c
+++ b/
drivers/s390/net/qeth_core_main.c
@@
-5447,7
+5447,6
@@
static int qeth_extract_skbs(struct qeth_card *card, int budget,
{
int work_done = 0;
- WARN_ON_ONCE(!budget);
*done = false;
while (budget) {