Re: [PATCH] cpts: add missing <linux/if_vlan.h>

From: Daniel Borkmann
Date: Sun Apr 06 2014 - 12:48:49 EST

On 04/06/2014 01:55 PM, Sergei Trofimovich wrote:
From: Sergei Trofimovich <slyfox@xxxxxxxxxx>

gcc complains as:
drivers/net/ethernet/ti/cpts.c: In function 'cpts_match':
drivers/net/ethernet/ti/cpts.c:266:12: error: 'ETH_HLEN' undeclared (first use in this function)
drivers/net/ethernet/ti/cpts.c:266:12: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/ethernet/ti/cpts.c:276:23: error: 'VLAN_HLEN' undeclared (first use in this function)

Signed-off-by: Sergei Trofimovich <slyfox@xxxxxxxxxx>
CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
CC: netdev@xxxxxxxxxxxxxxx

Thanks, fix is already in net tree:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at