Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp380961pxf; Thu, 25 Mar 2021 06:24:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEOBzv7Sz9jSG2SSBuuQ2iojBY7GIGx2cK6sxGdQLC4PXDVfDfHbd4KAorQcRILZvU8KGx X-Received: by 2002:a05:6402:14cc:: with SMTP id f12mr9457435edx.19.1616678643768; Thu, 25 Mar 2021 06:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616678643; cv=none; d=google.com; s=arc-20160816; b=nIMKD82IvuByVeCVJ2bJyS2d170Vb7WOqoN4R/kWPHPhriEMiQ6kU0nEaapjIgB416 wmHhpFkyO75VZlNBklGNZt+uOSF3oFnFvASAHeoTXTt93T6I1pYjyVJPMXILCDrH6dpQ BgyG2vHYs0ZsqDCZMUdO0SJ9ODB24rC0W+tjLL9fzzKp//IPaF0yr1kvnf3Cyy7sAoXb GPz7WRSKZrjs7qkR5NIbPUe2eMuYYRi1l3w4mWirUMScKYG2QzGapIAvcubfH92iZWRe OHnrduobJRb/1HH9H7Q3gH7vqKVA0A6lJKg6ysNclJcb5EAPHGI62OuiZzrjEdyyxsxU HDxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=kJC9TgZS4HsWKaIKfC61/5UP8+6Kxo2f1t4B5t8qzcQ=; b=fAhuJGox9yzcYNCnkLq2/22CMf4eUCNqE76kG7bZ0GsUCwyNGGrucQTZW2Aj/3L9cl FpohPRoJne1bntBriMZFlpQ6iLW6d3sqGAVEIpF4fyyRw10s5ISawaIjxswjxWya31OL SiWIAiwPluQeR/+BW4lm25t91CSpi5Lp3IQkZM/DCpnsNVC3l/GTWEpUPhZzQhe9SlN6 ks+IrqPhP0I3p7AtNmg5ZVf0YkKjWlvcbNmkOTSSYHj5krdRhmjnQgEcw4Xj2hOnb3cJ CEfodkbZime8Qv1IG9H2oNVyQsv3ov1YpMRdKHw60z95HBqFrjr8LoEGgsSoo4TcRjsY Aikg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si4108612edx.425.2021.03.25.06.23.39; Thu, 25 Mar 2021 06:24:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230093AbhCYNWn (ORCPT + 99 others); Thu, 25 Mar 2021 09:22:43 -0400 Received: from mga18.intel.com ([134.134.136.126]:57585 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbhCYNW2 (ORCPT ); Thu, 25 Mar 2021 09:22:28 -0400 IronPort-SDR: P/KZAZhtWsb3siYJQ6aqApP/pSTIw/rOucAgNXdfnKqWtyCIWGUuL1Vzyaz50HARidKCrcy2jD hMb4/Y4/Ob6Q== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="178478717" X-IronPort-AV: E=Sophos;i="5.81,277,1610438400"; d="scan'208";a="178478717" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2021 06:22:27 -0700 IronPort-SDR: s84PZ1wzip9QzzxBwviK59uqJwLGtOiq2JCpygHpBsDVhsqnjkLz7in2OYc1bWHfFofW2mP8wa Z91DucKLk+Xg== X-IronPort-AV: E=Sophos;i="5.81,277,1610438400"; d="scan'208";a="376846989" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2021 06:22:25 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lPPwM-00G3Jl-U7; Thu, 25 Mar 2021 15:22:22 +0200 Date: Thu, 25 Mar 2021 15:22:22 +0200 From: Andy Shevchenko To: Wan Jiabing Cc: Thomas Gleixner , Sergey Senozhatsky , Petr Mladek , Peter Zijlstra , linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] include: linux: debug_locks: Remove duplicate declaration Message-ID: References: <20210325022707.840531-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210325022707.840531-1-wanjiabing@vivo.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 25, 2021 at 10:26:58AM +0800, Wan Jiabing wrote: > struct task_struct is declared at 9th line. Remove the duplicate. It seems the duplicate is the other one and you removed wrong one. > Signed-off-by: Wan Jiabing > --- > include/linux/debug_locks.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h > index 2915f56ad421..0b3187a5290d 100644 > --- a/include/linux/debug_locks.h > +++ b/include/linux/debug_locks.h > @@ -46,7 +46,6 @@ extern int debug_locks_off(void); > # define locking_selftest() do { } while (0) > #endif > > -struct task_struct; > > #ifdef CONFIG_LOCKDEP > extern void debug_show_all_locks(void); > -- > 2.25.1 > -- With Best Regards, Andy Shevchenko