[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-backports
Subject:    Re: [PATCH] backport-include: fix abs definition in kernel.h
From:       Hauke Mehrtens <hauke () hauke-m ! de>
Date:       2016-05-06 21:28:49
Message-ID: 572D0C91.8000408 () hauke-m ! de
[Download RAW message or body]

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@broadcom.com>
> ---
>  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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic