Re: [PATCH] selftests: pidfd: Fix compiling errors and warning

2025-02-05 Thread I Hsin Cheng
On Wed, Feb 05, 2025 at 01:07:56PM +0100, Peter Seiderer wrote: > Hello *, > > On Wed, 5 Feb 2025 13:39:26 +0800, I Hsin Cheng > wrote: > > > When compiling selftests files under tools/testing/selftests/pidfd/ , > > some compiling errors and warnings will pop out as the following. > > > > C

Re: [PATCH] selftests: pidfd: Fix compiling errors and warning

2025-02-05 Thread Peter Seiderer
Hello *, On Wed, 5 Feb 2025 13:39:26 +0800, I Hsin Cheng wrote: > When compiling selftests files under tools/testing/selftests/pidfd/ , > some compiling errors and warnings will pop out as the following. > > CC pidfd_fdinfo_test > pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_t

[PATCH] selftests: pidfd: Fix compiling errors and warning

2025-02-04 Thread I Hsin Cheng
When compiling selftests files under tools/testing/selftests/pidfd/ , some compiling errors and warnings will pop out as the following. CC pidfd_fdinfo_test pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’: pidfd_fdinfo_test.c:231:13: warning: implicit declaration of function \ ‘