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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 D53A3C433B4 for ; Fri, 2 Apr 2021 13:45:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9BF0C6112E for ; Fri, 2 Apr 2021 13:45:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235459AbhDBNpU (ORCPT ); Fri, 2 Apr 2021 09:45:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:37780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234448AbhDBNpT (ORCPT ); Fri, 2 Apr 2021 09:45:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1AC07610D2; Fri, 2 Apr 2021 13:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617371118; bh=WXzh49l06FBlZcpOVnOoIk01IGPv5urpCaqqXoHLB38=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FOhQ0DMHKVLj4I8M53dWcplehITqme0vSwXkhNgIernLRQuTyC+sK+nsFBtbDtuXY rzR/YeyUvEZZIOG0Vfwj2MuHLbSkh598hBY6whU/l3D4618XAfiwro6ruwy1qHCCB1 BKrw65xhcxNiQqGTrV7kRCcFPffsheNQ3TH9aMfyRWchbdypf6wbHnJTrJlbXIZWKi uDtdVl8AJuLooxhmoAV5PVBn0g9/eBxEs/ykQ9qA9EMr5hSlQctj/OzhI41kiN3drl Ln69zWNtaIUrSFBdOMZPkWAXgzyLGgWQdV2uo6Yvv47Vsh94Cb8QM1AIRa+lXgLYMj W0RpvpVSXa0sw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 6247F40647; Fri, 2 Apr 2021 10:45:15 -0300 (-03) Date: Fri, 2 Apr 2021 10:45:15 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Wan Jiabing , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , linux-kernel , kael_w@yeah.net Subject: Re: [PATCH] tools: perf: util: Remove duplicate struct declaration Message-ID: References: <20210401062424.991737-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Apr 01, 2021 at 04:19:38PM +0900, Namhyung Kim escreveu: > Hello, > > On Thu, Apr 1, 2021 at 3:25 PM Wan Jiabing wrote: > > > > struct target is declared twice. One has been declared > > at 21st line. Remove the duplicate. > > > > Signed-off-by: Wan Jiabing > > Acked-by: Namhyung Kim > > I think we can move all the forward declarations to the top > (and sort them) as well. Thanks, applied. - Arnaldo