net: Fix more NAPI interface netdev argument drop fallout.
authorKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Tue, 30 Dec 2008 02:18:24 +0000 (18:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Dec 2008 02:18:24 +0000 (18:18 -0800)
I hit similar build failure due to the change in the netif_rx_reschedule()

drivers/net/ehea/ehea_main.c: In function 'ehea_poll':
drivers/net/ehea/ehea_main.c:844: warning: passing argument 1 of 'netif_rx_reschedule' from incompatible pointer type
drivers/net/ehea/ehea_main.c:844: error: too many arguments to function 'netif_rx_reschedule'
make[3]: *** [drivers/net/ehea/ehea_main.o] Error 1

greping through the sources for the changes missed out, we have

./drivers/net/arm/ixp4xx_eth.c:507: netif_rx_reschedule(dev, napi)) {
./drivers/net/arm/ep93xx_eth.c:310:             if (more && netif_rx_reschedule(dev, napi))
./drivers/net/wan/ixp4xx_hss.c:657: netif_rx_reschedule(dev, napi)) {

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/ep93xx_eth.c
drivers/net/arm/ixp4xx_eth.c
drivers/net/wan/ixp4xx_hss.c

index 6ecc600c1bccd05c5e22e17af5248fe998e9ecb0..3ec20cc18b0cb397524f5108cd257086b48f871e 100644 (file)
@@ -307,7 +307,7 @@ poll_some_more:
                }
                spin_unlock_irq(&ep->rx_lock);
 
-               if (more && netif_rx_reschedule(dev, napi))
+               if (more && netif_rx_reschedule(napi))
                        goto poll_some_more;
        }
 
index 26af411fc42819f8b7190fc4b4ba263965f003d8..5fce1d5c1a1a6cf273bc25b9983a10f620201df3 100644 (file)
@@ -504,7 +504,7 @@ static int eth_poll(struct napi_struct *napi, int budget)
                        netif_rx_complete(napi);
                        qmgr_enable_irq(rxq);
                        if (!qmgr_stat_empty(rxq) &&
-                           netif_rx_reschedule(dev, napi)) {
+                           netif_rx_reschedule(napi)) {
 #if DEBUG_RX
                                printk(KERN_DEBUG "%s: eth_poll"
                                       " netif_rx_reschedule successed\n",
index 0c6802507a79817840e36194a0ec49b0993adb73..2dc241689d37a8f878f6b80202ed38dd95805435 100644 (file)
@@ -654,7 +654,7 @@ static int hss_hdlc_poll(struct napi_struct *napi, int budget)
                        netif_rx_complete(dev, napi);
                        qmgr_enable_irq(rxq);
                        if (!qmgr_stat_empty(rxq) &&
-                           netif_rx_reschedule(dev, napi)) {
+                           netif_rx_reschedule(napi)) {
 #if DEBUG_RX
                                printk(KERN_DEBUG "%s: hss_hdlc_poll"
                                       " netif_rx_reschedule succeeded\n",