]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: broadcom: bcm4908_enet: fix NAPI poll returned value
authorRafał Miłecki <rafal@milecki.pl>
Wed, 24 Feb 2021 15:18:42 +0000 (16:18 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Feb 2021 17:46:39 +0000 (09:46 -0800)
commit4d9274cee40b6a20dd6148c6c81c6733c2678cbc
tree7456e1fa8a1dd794cc9197bd825e53c10c223559
parent4dc7f09b8becfa35a55430a49d95acf19f996e6b
net: broadcom: bcm4908_enet: fix NAPI poll returned value

Missing increment was resulting in poll function always returning 0
instead of amount of processed packets.

Fixes: 4feffeadbcb2 ("net: broadcom: bcm4908enet: add BCM4908 controller driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210224151842.2419-2-zajec5@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bcm4908_enet.c