Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jul 10, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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: 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