Re: [PATCH v6 2/3] tools: copy include/linux/stddef.h to tools/include

2025-01-15 Thread Charlie Jenkins
On Wed, Jan 15, 2025 at 07:13:28PM +0800, Celeste Liu wrote: > Some macro defined in stddef.h are useful and have been used in many > code in selftests. Copy them to tools/include so developers needn't > create their copy in every files. > > Remove some definitions like NULL and true/false to be s

Re: [PATCH v6 2/3] tools: copy include/linux/stddef.h to tools/include

2025-01-15 Thread Andrew Jones
On Wed, Jan 15, 2025 at 07:13:28PM +0800, Celeste Liu wrote: > Some macro defined in stddef.h are useful and have been used in many > code in selftests. Copy them to tools/include so developers needn't > create their copy in every files. > > Remove some definitions like NULL and true/false to be s

[PATCH v6 2/3] tools: copy include/linux/stddef.h to tools/include

2025-01-15 Thread Celeste Liu
Some macro defined in stddef.h are useful and have been used in many code in selftests. Copy them to tools/include so developers needn't create their copy in every files. Remove some definitions like NULL and true/false to be suitable to non-kernel environment. Signed-off-by: Celeste Liu --- to