On Mon, Oct 29, 2012 at 2:32 PM, Pravin B Shelar <pshe...@nicira.com> wrote:
> v1-v2:
>         - Moved BUILD_BUG_ON_NOT_POWER_OF_2 symbol definition for bug.h
> --8<--------------------------cut here-------------------------->8--
>
> BUILD_BUG_ON_NOT_POWER_OF_2 symbol is moved from kernel.h to
> bug.h in 3.4.  Therefore sparse is giving warning:
>
> include/linux/bug.h:15:9: warning: preprocessor token
> BUILD_BUG_ON_NOT_POWER_OF_2 redefined
> ovs/datapath/linux/compat/include/linux/kernel.h:44:9:
> this was the original definition
>
> Signed-off-by: Pravin B Shelar <pshe...@nicira.com>

This needs to include bug.h in Modules.mk, otherwise it fails distcheck.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to