Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] cris: fix eth_v10.c build error

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


rdunlap at xenotime

Aug 3, 2012, 5:38 PM

Post #1 of 2 (74 views)
Permalink
[PATCH] cris: fix eth_v10.c build error

From: Randy Dunlap <rdunlap [at] xenotime>

Fix build error on cris (not tested, no toolchain here):

drivers/net/cris/eth_v10.c: error: too many arguments to function 'e100rxtx_interrupt'

Reported-by: Geert Uytterhoeven <geert [at] linux-m68k>
Signed-off-by: Randy Dunlap <rdunlap [at] xenotime>
Cc: Mikael Starvik <starvik [at] axis>
Cc: Jesper Nilsson <jesper.nilsson [at] axis>
Cc: linux-cris-kernel [at] axis
---
drivers/net/cris/eth_v10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-36-rc1.orig/drivers/net/cris/eth_v10.c
+++ lnx-36-rc1/drivers/net/cris/eth_v10.c
@@ -1712,7 +1712,7 @@ e100_set_network_leds(int active)
static void
e100_netpoll(struct net_device* netdev)
{
- e100rxtx_interrupt(NETWORK_DMA_TX_IRQ_NBR, netdev, NULL);
+ e100rxtx_interrupt(NETWORK_DMA_TX_IRQ_NBR, netdev);
}
#endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


davem at davemloft

Aug 3, 2012, 8:33 PM

Post #2 of 2 (69 views)
Permalink
Re: [PATCH] cris: fix eth_v10.c build error [In reply to]

From: Randy Dunlap <rdunlap [at] xenotime>
Date: Fri, 03 Aug 2012 17:38:07 -0700

> From: Randy Dunlap <rdunlap [at] xenotime>
>
> Fix build error on cris (not tested, no toolchain here):
>
> drivers/net/cris/eth_v10.c: error: too many arguments to function 'e100rxtx_interrupt'
>
> Reported-by: Geert Uytterhoeven <geert [at] linux-m68k>
> Signed-off-by: Randy Dunlap <rdunlap [at] xenotime>

Applied, thanks Randy.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.