linux-next: build warning after merge of the pidfd tree
Hi all,
After merging the pidfd tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:
fs/nsfs.c: In function 'ns_ioctl':fs/nsfs.c:195:14: warning: unused variable 'pid_struct' [-Wunused-variable]
195 | struct pid *pid_struct;
| ^~~~~~~~~~
fs/nsfs.c:194:22: warning: unused variable 'child_reaper' [-Wunused-variable]
194 | struct task_struct *child_reaper;
| ^~~~~~~~~~~~Introduced by commit
a57927d2dce2 ("nsfs: add NS_GET_INIT_PID ioctl")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 13 lines · Stephen Rothwell
Hi all,
After merging the pidfd tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
fs/nsfs.c: In function 'ns_ioctl':fs/nsfs.c:195:14: warning: unused variable 'pid_struct' [-Wunused-variable]195 | struct pid *pid_struct; | ^~~~~~~~~~ fs/nsfs.c:194:22: warning: unused variable 'child_reaper' [-Wunused-variable] 194 | struct task_struct *child_reaper; | ^~~~~~~~~~~~
Quoted 3 lines
Introduced by commit
a57927d2dce2("nsfs: addNS_GET_INIT_PIDioctl")
Hm, I wonder how that didn't get caught during a git rebase -x "make" v5.8-rc4 build... Sorry about that!
Thanks!
Christian