Re: [PATCH] kselftest/arm64: Add missing stddef.h include to BTI tests

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

 



On Fri, 7 May 2021 17:25:42 +0100, Mark Brown wrote:
> Explicitly include stddef.h when building the BTI tests so that we have
> a definition of NULL, with at least some toolchains this is not done
> implicitly by anything else:
> 
> test.c: In function ‘start’:
> test.c:214:25: error: ‘NULL’ undeclared (first use in this function)
>   214 |  sigaction(SIGILL, &sa, NULL);
>       |                         ^~~~
> test.c:20:1: note: ‘NULL’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?

Applied to arm64 (for-next/fixes), thanks!

[1/1] kselftest/arm64: Add missing stddef.h include to BTI tests
      https://git.kernel.org/arm64/c/a1bed090fc56

-- 
Catalin




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux