* [PATCH] net: Fix some fallout from the etner_addr_copy() changes.
@ 2014-01-22 3:03 David Miller
2014-01-22 4:07 ` François-Xavier Le Bail
2014-01-22 4:23 ` Bill Fink
0 siblings, 2 replies; 5+ messages in thread
From: David Miller @ 2014-01-22 3:03 UTC (permalink / raw)
To: netdev
net/appletalk/aarp.c: In function ‘__aarp_send_query’:
net/appletalk/aarp.c:137:2: error: implicit declaration of function ‘ether_addr_copy’ [-Werror=implicit-function-declaration]
...
net/atm/lec.c: In function ‘send_to_lecd’:
net/atm/lec.c:524:3: warning: passing argument 1 of ‘ether_addr_copy’ from incompatible pointer type [enabled by default]
In file included from net/atm/lec.c:17:0:
include/linux/etherdevice.h:227:20: note: expected ‘u8 *’ but argument is of type ‘unsigned char (*)[6]’
...
net/caif/caif_usb.c: In function ‘cfusbl_create’:
net/caif/caif_usb.c:108:2: error: implicit declaration of function ‘ether_addr_copy’ [-Werror=implicit-function-declaration]
Signed-off-by: David S. Miller <davem@davemloft.net>
---
net/appletalk/aarp.c | 1 +
net/atm/lec.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c
index d0b7be1..d27b86d 100644
--- a/net/appletalk/aarp.c
+++ b/net/appletalk/aarp.c
@@ -40,6 +40,7 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/export.h>
+#include <linux/etherdevice.h>
int sysctl_aarp_expiry_time = AARP_EXPIRY_TIME;
int sysctl_aarp_tick_time = AARP_TICK_TIME;
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 0b73ae9..5a2f602 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -521,7 +521,7 @@ send_to_lecd(struct lec_priv *priv, atmlec_msg_type type,
if (data != NULL)
mesg->sizeoftlvs = data->len;
if (mac_addr)
- ether_addr_copy(&mesg->content.normal.mac_addr, mac_addr);
+ ether_addr_copy(mesg->content.normal.mac_addr, mac_addr);
else
mesg->content.normal.targetless_le_arp = 1;
if (atm_addr)
--
1.7.11.7
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Fix some fallout from the etner_addr_copy() changes.
2014-01-22 3:03 [PATCH] net: Fix some fallout from the etner_addr_copy() changes David Miller
@ 2014-01-22 4:07 ` François-Xavier Le Bail
2014-01-22 4:23 ` Bill Fink
1 sibling, 0 replies; 5+ messages in thread
From: François-Xavier Le Bail @ 2014-01-22 4:07 UTC (permalink / raw)
To: netdev, David Miller
On Tue, 1/21/14, David Miller <davem@davemloft.net> wrote:
> Subject: [PATCH] net: Fix some fallout from the etner_addr_copy() changes.
s/etner_addr_copy/ether_addr_copy.
Cheers,
Francois-Xavier
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Fix some fallout from the etner_addr_copy() changes.
2014-01-22 3:03 [PATCH] net: Fix some fallout from the etner_addr_copy() changes David Miller
2014-01-22 4:07 ` François-Xavier Le Bail
@ 2014-01-22 4:23 ` Bill Fink
2014-01-22 6:54 ` David Miller
1 sibling, 1 reply; 5+ messages in thread
From: Bill Fink @ 2014-01-22 4:23 UTC (permalink / raw)
To: David Miller; +Cc: netdev
On Tue, 21 Jan 2014, David Miller wrote:
> net/appletalk/aarp.c: In function ‘__aarp_send_query’:
> net/appletalk/aarp.c:137:2: error: implicit declaration of function ‘ether_addr_copy’ [-Werror=implicit-function-declaration]
> ...
> net/atm/lec.c: In function ‘send_to_lecd’:
> net/atm/lec.c:524:3: warning: passing argument 1 of ‘ether_addr_copy’ from incompatible pointer type [enabled by default]
> In file included from net/atm/lec.c:17:0:
> include/linux/etherdevice.h:227:20: note: expected ‘u8 *’ but argument is of type ‘unsigned char (*)[6]’
> ...
> net/caif/caif_usb.c: In function ‘cfusbl_create’:
> net/caif/caif_usb.c:108:2: error: implicit declaration of function ‘ether_addr_copy’ [-Werror=implicit-function-declaration]
>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> ---
> net/appletalk/aarp.c | 1 +
> net/atm/lec.c | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
The commit message indicates problems with appletalk/aarp.c,
atm/lec.c, and caif/caif_usb.c, but the diffstat and patch only
address the first two and not caif/caif_usb.c. Is that intended
or am I missing something.
-Bill
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Fix some fallout from the etner_addr_copy() changes.
2014-01-22 4:23 ` Bill Fink
@ 2014-01-22 6:54 ` David Miller
2014-01-22 22:56 ` Joe Perches
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2014-01-22 6:54 UTC (permalink / raw)
To: billfink; +Cc: netdev
From: Bill Fink <billfink@mindspring.com>
Date: Tue, 21 Jan 2014 23:23:31 -0500
> The commit message indicates problems with appletalk/aarp.c,
> atm/lec.c, and caif/caif_usb.c, but the diffstat and patch only
> address the first two and not caif/caif_usb.c. Is that intended
> or am I missing something.
Thanks for catching that, I just pushed the missing change.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Fix some fallout from the etner_addr_copy() changes.
2014-01-22 6:54 ` David Miller
@ 2014-01-22 22:56 ` Joe Perches
0 siblings, 0 replies; 5+ messages in thread
From: Joe Perches @ 2014-01-22 22:56 UTC (permalink / raw)
To: David Miller; +Cc: billfink, netdev
On Tue, 2014-01-21 at 22:54 -0800, David Miller wrote:
> From: Bill Fink <billfink@mindspring.com>
> Date: Tue, 21 Jan 2014 23:23:31 -0500
>
> > The commit message indicates problems with appletalk/aarp.c,
> > atm/lec.c, and caif/caif_usb.c, but the diffstat and patch only
> > address the first two and not caif/caif_usb.c. Is that intended
> > or am I missing something.
>
> Thanks for catching that, I just pushed the missing change.
My apologies for my stupid carelessness in the
patches I sent here.
I thought #define ETH_ALEN was in the same #include
as ether_addr_copy and I didn't bother compiling.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-22 22:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22 3:03 [PATCH] net: Fix some fallout from the etner_addr_copy() changes David Miller
2014-01-22 4:07 ` François-Xavier Le Bail
2014-01-22 4:23 ` Bill Fink
2014-01-22 6:54 ` David Miller
2014-01-22 22:56 ` Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).