Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6307251rwd; Mon, 5 Jun 2023 16:41:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6310M7VTbSNeWIX2CuAaqMSkkfLsezJKoPC94drRCnhlz1ICe2mixuAwX2oEWWf76inP2a X-Received: by 2002:a17:902:e807:b0:1b1:714a:335b with SMTP id u7-20020a170902e80700b001b1714a335bmr432485plg.6.1686008491814; Mon, 05 Jun 2023 16:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686008491; cv=none; d=google.com; s=arc-20160816; b=a4H9DKJfS+CaSm4aWbBrrTAU0p0+bRdIX9gDPe1rQfTOSxCdMYV0V7BEpaUXgKogQ6 6KHFnbb9NUipgfsJfkJ/U99PZZjclLR1Tr6pYCXZOx/0U7J4pogiggK6CWmN2Icxlnxv aNw9ewjSveIMIB3sgu3hy/PG/3Vdd6mTGfv2jsHlrD8jLsasAipZqrlYGh99VBZgGONv Wt+e7GYjCdwSNdUprhIC8iU3KbyLWRQylpY8rD4FeG8mnDL17Fz5IdqI/LYsyX/tz9nu SbM9coQmE1LdoLGZlwLHZ5Wp8sC3jJYZ7xUXhRSSXkHFXM3EFzA8J78tvcxTLZkNpdQx X/KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7XSS7GkuxbyAJz2hpFZd1hS8+hsFiywFxc/vDR6MdZU=; b=HkFLs3AgaaWO9TDEsAES2b2f8Bn1FiLkeDwwGTa5fK/wm6RuVCo9uZE2y9P4cTYOcJ hGzBZbJQPvMxur4DD1steB09/Xwvc7G2AemwumphI8sXtFUxALVdDZlAWSm5RF+eb4vi WWdfAOUk04yhuKJ/X4tUHLaLoyisNTQDFaA0GIllM5denKHj7VgkZZvUO+WDSAZV4weB jXXC8iJ5L8ThS57CTJ60jFtBAWVKOenQVLVALGh0ozrVLi9cwNcgEXi0auJzwEdI0HXq kdm913HxU1IUtfsoVohgTpYVENDoej9O0Em/PP1GamlUoRfoknyiM2VQ30CwO13VDF6m 2qug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hset7a17; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a170902760800b001b046acc841si5955219pll.266.2023.06.05.16.41.19; Mon, 05 Jun 2023 16:41:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hset7a17; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233358AbjFEXcm (ORCPT + 99 others); Mon, 5 Jun 2023 19:32:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbjFEXcl (ORCPT ); Mon, 5 Jun 2023 19:32:41 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C698EC; Mon, 5 Jun 2023 16:32:40 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-51475e981f0so7931730a12.1; Mon, 05 Jun 2023 16:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686007958; x=1688599958; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7XSS7GkuxbyAJz2hpFZd1hS8+hsFiywFxc/vDR6MdZU=; b=hset7a17N0jBVuymWZ7RYQaCmS4Lyd1Gd5vV3xIUSTt2NMnqTSMWS7tw9J8KxUy0TC HM5vUjbFdW2Jy2KY4YbcbpzUcVFfKT30eGuG35k68Khg6HoSOHUbAByJ6NyvmkJR4eDA bw9PR6Q1VfbT78MXN9dw3+pWk7NTbXEoMwxd5CQKdDwr/7I3oTrYcd1c9ah67muZG27n 7/pPRlhi1oNJHgXvq00lU4p0ZGRoz2drKoZxFg7zGxMkG371wvzzllGhmSE/SG5C+jWD DEVVcTTiD78Y7ls24IMM3I+ovKhMJdYfsWg7Gx0fNaA0waSVd78VdaG8ID+CWu4j0B1H L1/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686007958; x=1688599958; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7XSS7GkuxbyAJz2hpFZd1hS8+hsFiywFxc/vDR6MdZU=; b=QF1O7GZ56bZPce9ffSia2lGJeim0fVdweBFJCBvO0sisyQfyoZ9Dxoz6Muf1fuvwxG k2RNQSn6Fa1XOp7fmteQWVVhBeKjD3jkQuy189zp7b+7gafWAmm9Nl7fRGLfbYjk8h6j /f56A90a7x+S/XGOBnXoLTQVkPDqi2xzM3M+NuE5IHUem4axseaX1qQVbJTmIlB+K6lt 0edSuI8McM5PoW/hCIM2oUPxluyd11Z+1LEFj9FgR/xDLIHQBEbRiwaFp5dKDJCyUW8L +O4hnkbpaJDr0/GJ0R9BiDiEcMMN2LYatlQwkhRiCAT2MO7CW48K2P59vS8UmlMsdxbG p04Q== X-Gm-Message-State: AC+VfDxn31Okfh8X+bzV6sOEaZwSopJZXOijqQwUUsUtDwsumyslqVwm lcdn8A7RdM8AcPzJBIv0rlNGQRUriG/TtMb9oPQ= X-Received: by 2002:a05:6402:644:b0:516:436d:3f82 with SMTP id u4-20020a056402064400b00516436d3f82mr373337edx.30.1686007957834; Mon, 05 Jun 2023 16:32:37 -0700 (PDT) MIME-Version: 1.0 References: <20230602030842.279262-1-gongruiqi@huaweicloud.com> In-Reply-To: From: Andrii Nakryiko Date: Mon, 5 Jun 2023 16:32:25 -0700 Message-ID: Subject: Re: [PATCH] bpf: cleanup unused function declaration To: Stanislav Fomichev Cc: gongruiqi@huaweicloud.com, Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Wang Weiyang , Xiu Jianfeng , gongruiqi1@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 2, 2023 at 9:12=E2=80=AFAM Stanislav Fomichev = wrote: > > On 06/02, GONG, Ruiqi wrote: > > All usage and the definition of `bpf_prog_free_linfo()` has been remove= d > > in commit e16301fbe183 ("bpf: Simplify freeing logic in linfo and > > jited_linfo"). Clean up its declaration in the header file. > > > > Signed-off-by: GONG, Ruiqi > I'm actually having trouble applying this locally. Can you please rebase against bpf-next/master and resend it? Also, please check Signed-off-by's " " order and spelling. Should it be "Ruiqi Gong <...>"? > Acked-by: Stanislav Fomichev > > > --- > > include/linux/filter.h | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/include/linux/filter.h b/include/linux/filter.h > > index bbce89937fde..f69114083ec7 100644 > > --- a/include/linux/filter.h > > +++ b/include/linux/filter.h > > @@ -874,7 +874,6 @@ void bpf_prog_free(struct bpf_prog *fp); > > > > bool bpf_opcode_in_insntable(u8 code); > > > > -void bpf_prog_free_linfo(struct bpf_prog *prog); > > void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, > > const u32 *insn_to_jit_off); > > int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog); > > -- > > 2.25.1 > >