Re: [PATCH] backport-include: fix abs definition in kernel.h

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

 



On 04/01/2016 10:35 PM, Arend van Spriel wrote:
> The definition of abs should be within include protection to avoid
> following build issue:
> 
> In file included from /tmp/bp-test/backport-include/linux/kernel.h:3:0,
>                  from include/linux/cache.h:4,
>                  from include/linux/time.h:4,
>                  from /tmp/bp-test/backport-include/linux/time.h:3,
>                  from include/linux/stat.h:18,
>                  from include/linux/module.h:10,
>                  from /tmp/bp-test/backport-include/linux/module.h:3,
>                  from /tmp/bp-test/net/wireless/nl80211.c:10:
> include/linux/kernel.h:179:0: warning: "abs" redefined [enabled by default]
> error, forbidden warning: kernel.h:179
> make[6]: *** [/tmp/bp-test/net/wireless/nl80211.o] Error 1
> 
> Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx>
> ---
>  backport/backport-include/linux/kernel.h | 27 +++++++++++++--------------
>  1 file changed, 13 insertions(+), 14 deletions(-)
> 


Thank you for the patch, it was applied.

Hauke

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[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