From: David Miller <davem@davemloft.net>
To: axel.lin@gmail.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] dsa: Include linux/if_ether.h to fix build error
Date: Thu, 01 Dec 2011 12:41:19 -0500 (EST) [thread overview]
Message-ID: <20111201.124119.485939880534098580.davem@davemloft.net> (raw)
In-Reply-To: <1322726838.14554.3.camel@phoenix>
From: Axel Lin <axel.lin@gmail.com>
Date: Thu, 01 Dec 2011 16:07:18 +0800
> Include linux/if_ether.h to fix below build errors:
>
> CC arch/arm/mach-kirkwood/common.o
> In file included from arch/arm/mach-kirkwood/common.c:19:
> include/net/dsa.h: In function 'dsa_uses_dsa_tags':
> include/net/dsa.h:192: error: 'ETH_P_DSA' undeclared (first use in this function)
> include/net/dsa.h:192: error: (Each undeclared identifier is reported only once
> include/net/dsa.h:192: error: for each function it appears in.)
> include/net/dsa.h: In function 'dsa_uses_trailer_tags':
> include/net/dsa.h:197: error: 'ETH_P_TRAILER' undeclared (first use in this function)
> make[1]: *** [arch/arm/mach-kirkwood/common.o] Error 1
> make: *** [arch/arm/mach-kirkwood] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Applied.
prev parent reply other threads:[~2011-12-01 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-01 8:07 [PATCH] dsa: Include linux/if_ether.h to fix build error Axel Lin
2011-12-01 17:41 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111201.124119.485939880534098580.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=axel.lin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).