From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03030C433E0 for ; Fri, 10 Jul 2020 07:59:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E0FA72078D for ; Fri, 10 Jul 2020 07:59:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbgGJH7Q (ORCPT ); Fri, 10 Jul 2020 03:59:16 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:38944 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbgGJH7J (ORCPT ); Fri, 10 Jul 2020 03:59:09 -0400 Received: from ip5f5af08c.dynamic.kabel-deutschland.de ([95.90.240.140] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jtnw2-0002Un-JH; Fri, 10 Jul 2020 07:59:06 +0000 Date: Fri, 10 Jul 2020 09:59:06 +0200 From: Christian Brauner To: Stephen Rothwell Cc: Christian Brauner , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warning after merge of the pidfd tree Message-ID: <20200710075906.dilvvpj3q5dij7fu@wittgenstein> References: <20200710163204.651bb496@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200710163204.651bb496@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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