]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/staging/octeon/ethernet-rx.c
Merge tag 'staging-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[mirror_ubuntu-artful-kernel.git] / drivers / staging / octeon / ethernet-rx.c
index a3b6eb7548f28820b5e33a39560498b6e5b2552e..7f8cf875157c60009d51b22c71cc47b402394091 100644 (file)
@@ -429,7 +429,7 @@ static int cvm_oct_napi_poll(struct napi_struct *napi, int budget)
 
        if (rx_count < budget) {
                /* No more work */
-               napi_complete(napi);
+               napi_complete_done(napi, rx_count);
                enable_irq(rx_group->irq);
        }
        return rx_count;