Re: [PATCH v2 2/5] selftests/sgx: Include KHDR_INCLUDES in Makefile

2024-05-08 Thread John Hubbard
On 5/7/24 2:38 PM, Edward Liaw wrote: Add KHDR_INCLUDES to the CFLAGS to pull in the kselftest harness dependencies (-D_GNU_SOURCE). Also, remove redefinitions of _GNU_SOURCE in the source code. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Reported-by: kernel test robot Cl

Re: [PATCH v2 2/5] selftests/sgx: Include KHDR_INCLUDES in Makefile

2024-05-08 Thread Jarkko Sakkinen
On Wed May 8, 2024 at 6:33 PM EEST, Dave Hansen wrote: > On 5/7/24 14:38, Edward Liaw wrote: > > Add KHDR_INCLUDES to the CFLAGS to pull in the kselftest harness > > dependencies (-D_GNU_SOURCE). > > > > Also, remove redefinitions of _GNU_SOURCE in the source code. > > From an x86 and SGX perspect

Re: [PATCH v2 2/5] selftests/sgx: Include KHDR_INCLUDES in Makefile

2024-05-08 Thread Dave Hansen
On 5/7/24 14:38, Edward Liaw wrote: > Add KHDR_INCLUDES to the CFLAGS to pull in the kselftest harness > dependencies (-D_GNU_SOURCE). > > Also, remove redefinitions of _GNU_SOURCE in the source code. >From an x86 and SGX perspective, looks fine. I assume Shuah is planning on taking this pile.

Re: [PATCH v2 2/5] selftests/sgx: Include KHDR_INCLUDES in Makefile

2024-05-08 Thread Muhammad Usama Anjum
On 5/8/24 2:38 AM, Edward Liaw wrote: > Add KHDR_INCLUDES to the CFLAGS to pull in the kselftest harness > dependencies (-D_GNU_SOURCE). > > Also, remove redefinitions of _GNU_SOURCE in the source code. > > Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") > Reported-by: kernel te

[PATCH v2 2/5] selftests/sgx: Include KHDR_INCLUDES in Makefile

2024-05-07 Thread Edward Liaw
Add KHDR_INCLUDES to the CFLAGS to pull in the kselftest harness dependencies (-D_GNU_SOURCE). Also, remove redefinitions of _GNU_SOURCE in the source code. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-lkp/20