回复: [PATCH] selftests/core: Fix build issue with CLOSE_RANGE_UNSHARE

2024-01-11 Thread Huyadi
Any comments will be appreciated >From: "Hu.Yadi" > >Add head file to fix cpmpile error: > >gcc -g -isystem /home/linux/usr/include close_range_test.c -o >/home/linux/tools/testing/selftests/core/close_range_test >close_range_test.c: In function ‘close_range_unshare’: >close_range_test.c:11

[PATCH] selftests/core: Fix build issue with CLOSE_RANGE_UNSHARE

2024-01-10 Thread Hu Yadi
From: "Hu.Yadi" Add head file to fix cpmpile error: gcc -g -isystem /home/linux/usr/include close_range_test.c -o /home/linux/tools/testing/selftests/core/close_range_test close_range_test.c: In function ‘close_range_unshare’: close_range_test.c:111:11: error: ‘CLOSE_RANGE_UNSHARE’ undecla