* [PATCH] net: e1000: correct function signature of set_ethaddr
@ 2015-09-08 9:43 Lucas Stach
2015-09-09 6:45 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2015-09-08 9:43 UTC (permalink / raw)
To: barebox
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/net/e1000.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 6ef825928621..a7acfd00acc4 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -1106,7 +1106,7 @@ static int e1000_get_ethaddr(struct eth_device *edev, unsigned char *adr)
return 0;
}
-static int e1000_set_ethaddr(struct eth_device *edev, unsigned char *adr)
+static int e1000_set_ethaddr(struct eth_device *edev, const unsigned char *adr)
{
struct e1000_hw *hw = edev->priv;
uint32_t addr_low;
--
2.5.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: e1000: correct function signature of set_ethaddr
2015-09-08 9:43 [PATCH] net: e1000: correct function signature of set_ethaddr Lucas Stach
@ 2015-09-09 6:45 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-09-09 6:45 UTC (permalink / raw)
To: Lucas Stach; +Cc: barebox
On Tue, Sep 08, 2015 at 11:43:20AM +0200, Lucas Stach wrote:
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> drivers/net/e1000.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-09 6:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 9:43 [PATCH] net: e1000: correct function signature of set_ethaddr Lucas Stach
2015-09-09 6:45 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox