Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp866055pxf; Thu, 1 Apr 2021 16:15:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0SE1F0RcsMiugfGwYRS46vV5aNqixcr94DSyimydfhFbDIVrGGxALQM8AH2TEq4E7qopu X-Received: by 2002:a92:c24c:: with SMTP id k12mr8350613ilo.75.1617318916802; Thu, 01 Apr 2021 16:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617318916; cv=none; d=google.com; s=arc-20160816; b=C6GV41a80w5uIqULIja1AEu6jD90nDwlZUvK/FPg4DDwSMrb45H88sDcOQR7GU17Js bNZLrgrM3DfkX0SqduDULi9UiAmxFI3q8vdSPbUScM/bTRrdJmrgeK+tm6v1Ei+5nojw Se2Z5VKhqyetp8Rf0QCpEU+ytRFG+Ro9g++fLF4NPdq6HuqFk4CyJddhRvkIl6IjEOdl lK5ZybyZw5nOv4qNoNClU2Bg+uU0KlL16AXNquDCH9vSnmgq9aCwsd3NRUHFOhh49VOy rtWL9aNSJqXZ9wlFcG2G2jmxha4PMG41b6GDtod7yQGhq49zZnltSdb4dH/SQgzsIWto gGIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ByCZqIe1e7hazFRH++kiAEAGCdLWiVrfLdpiyiJTX1M=; b=0RQrzo/p/6qzgvAOXFsFCtZw+mtjEoUtc+Sq7KbWpQK1QEx8LOJbCWwh+ZP3jr6QmL qR8QwXwl5FtejcvCC1aXBmk4Yed9aK66nj+g43kEFwzl/8K2JEoWtDJIsIMLg74mvqnt JjJB0MXVj6zMDDbo6LzEYYLGb5aGMrtqCBwgy0FiMNgY1B8bO3rpmb+FPcqZDHpoMYAG sgvwGlnvgt6cAXW0OCFm+iebuep+AA74SUS2q3TSxr7V4l1ayMvGBOXsDPuv+UMtHEXI +W8MOLSGaG3LCd8Uv8j5g1CN8UZ5Y99WAsmdKmWz1uQLW3ZlASjP2CZ+pX0Rdt+ejDP7 p4PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPhEiXIk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m35si6328736jav.30.2021.04.01.16.15.02; Thu, 01 Apr 2021 16:15:16 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPhEiXIk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234627AbhDAXNO (ORCPT + 99 others); Thu, 1 Apr 2021 19:13:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:35384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbhDAXNO (ORCPT ); Thu, 1 Apr 2021 19:13:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 33387610FA; Thu, 1 Apr 2021 23:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617318793; bh=ByCZqIe1e7hazFRH++kiAEAGCdLWiVrfLdpiyiJTX1M=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mPhEiXIkPFXJMpr4Rn5vHC83CeO2jA0z84WR/f/rvHN4uwes+P4ZedrrIcbXJa5Si sqd19/2y/3Ek+NR3ADc2AVtHPDBE/zLKmszckysp21ASND6ICjOA9piKjKSPGo8mtQ pPQ4q1U/MlFBSmsoLOcY77AkFGyqLKNSbUjR8i9jg/asel/IbImwjUEFSR+cVym2Ee 12BgMZTZEZNYAVkaegyCPzkP4hREvdP5+apC4Uw2Aj/O2/+95pLN+y1ssYOphw0jvr h0pnrdJ7RmNH1K3lN5mveYr+q3xqpQgz7K4nOdtCL0Gj7tIGe8bouTNErwlXtEhsnB oKWGjn6oGlf8g== Received: by mail-lf1-f51.google.com with SMTP id w28so5167347lfn.2; Thu, 01 Apr 2021 16:13:13 -0700 (PDT) X-Gm-Message-State: AOAM533JDy2/z4Cu/U3ZX7uyT8bVt8xaCzkupmG0JUmw8TqjV5UEh79K gqhqRjrh3hYm9JflYWc0ARvRfV936dYeF4GSQUQ= X-Received: by 2002:a05:6512:3582:: with SMTP id m2mr6985279lfr.10.1617318791424; Thu, 01 Apr 2021 16:13:11 -0700 (PDT) MIME-Version: 1.0 References: <20210401072037.995849-1-wanjiabing@vivo.com> In-Reply-To: <20210401072037.995849-1-wanjiabing@vivo.com> From: Song Liu Date: Thu, 1 Apr 2021 16:13:00 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] linux/bpf.h: Remove repeated struct declaration To: Wan Jiabing Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Networking , bpf , open list , kael_w@yeah.net Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 1, 2021 at 12:22 AM Wan Jiabing wrote: > > struct btf_type is declared twice. One is declared at 35th line. > The blew one is not needed. Remove the duplicate. > > Signed-off-by: Wan Jiabing Acked-by: Song Liu