Re: linux-next: build failure after merge of the net tree

From: Vlad Yasevich
Date: Tue May 20 2014 - 10:51:08 EST


On 05/19/2014 08:59 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
>
> In file included from arch/powerpc/net/bpf_jit_comp.c:16:0:
> include/linux/if_vlan.h: In function 'vlan_get_encap_level':
> include/linux/if_vlan.h:491:2: error: implicit declaration of function 'vlan_dev_priv' [-Werror=implicit-function-declaration]
> return vlan_dev_priv(dev)->nest_level;
> ^
> include/linux/if_vlan.h:491:27: error: invalid type argument of '->' (have 'int')
> return vlan_dev_priv(dev)->nest_level;
> ^
>
> Caused by commit 44a4085538c8 ("bonding: Fix stacked device detection
> in arp monitoring").
>
> vlan_dev_priv() is protected by:
>
> #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
>
> but the newly added call in vlan_get_encap_level() is not.
>
> I have used the net tree from next-20140519 for today.
>

Right. Apologies. I missed the above fact. Fix forthcoming.

-vlad
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/