Re: [PATCH v2 03/19] backports: add missing include for is_valid_ether_addr()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 19.08.2013 01:37, Hauke Mehrtens wrote:
> is_valid_ether_addr() is used, but the header here it is declared was
> not included.
> 
> This fixes a problem introduced in commit:
> commit 521acfd92f168fc9b8b6a1cefe9a165243f3d872
> Author: Patrick Ziegler <patrick.ziegler@xxxxxxxx>
> Date:   Thu Aug 15 14:40:09 2013 +0200
> 
>     backports: add eth_prepare_mac_addr_change() and eth_commit_mac_addr_change()
> 
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
> Cc: Patrick Ziegler <patrick.ziegler@xxxxxxxx>
> ---
>  backport/compat/compat-3.9.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/backport/compat/compat-3.9.c b/backport/compat/compat-3.9.c
> index ba8e3cf..d85a79f 100644
> --- a/backport/compat/compat-3.9.c
> +++ b/backport/compat/compat-3.9.c
> @@ -15,6 +15,7 @@
>  #include <linux/netdevice.h>
>  #include <linux/if.h>
>  #include <linux/if_ether.h>
> +#include <linux/etherdevice.h>
>  
>  #ifdef __sg_page_iter_next
>  
> 


Thanks for fixing this issue (and the others based on my patches).

I guess linux/netdevice.h and linux/if_ether.h is redundant in this case.

Patrick

-- 
Dipl.-Inf. (FH) Patrick Ziegler

University Of Applied Sciences
Kaiserslautern

Amerikastrasse 1
D-66482 Zweibruecken
Germany

Phone:  +49 631 3724 5526
Mail:   patrick.ziegler@xxxxxxxx
PGP KeyID 0xB4796B8C

http://www.fh-kl.de
http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux