Re: linux-next: build warning after merge of the pidfd tree

From: Christian Brauner
Date: Fri Jul 10 2020 - 03:59:17 EST


On Fri, Jul 10, 2020 at 04:32:04PM +1000, Stephen Rothwell wrote:
> 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")

Hm, I wonder how that didn't get caught during a git rebase -x "make" v5.8-rc4 build...
Sorry about that!

Thanks!
Christian