Re: [PATCH -next] selftests/cgroup: Fix compile error in test_cpu.c

2024-10-14 Thread Tejun Heo
On Fri, Oct 11, 2024 at 06:11:53AM +, Xiu Jianfeng wrote: > From: Xiu Jianfeng > > When compiling the cgroup selftests with the following command: > > make -C tools/testing/selftests/cgroup/ > > the compiler complains as below: > > test_cpu.c: In function ‘test_cpucg_nice’: > test_cpu.c:28

[PATCH -next] selftests/cgroup: Fix compile error in test_cpu.c

2024-10-10 Thread Xiu Jianfeng
From: Xiu Jianfeng When compiling the cgroup selftests with the following command: make -C tools/testing/selftests/cgroup/ the compiler complains as below: test_cpu.c: In function ‘test_cpucg_nice’: test_cpu.c:284:39: error: incompatible type for argument 2 of ‘hog_cpus_timed’ 284 |