Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2211180pxx; Sat, 31 Oct 2020 11:47:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuIaMz2/ZZEcu9ueDQP1R5sR/RoFm9pszTaL+4VaUGoRG4gaEtD9qcYA4GXQHtac6gv1hu X-Received: by 2002:a17:906:f753:: with SMTP id jp19mr8166269ejb.280.1604170026302; Sat, 31 Oct 2020 11:47:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604170026; cv=none; d=google.com; s=arc-20160816; b=M7Ecoan60r+fUQ3ewTyr3ZmEoU5UoO0B8U8XAP3XjGA81fYW4tKS9qRVY4J5Ystmjo m7Azdg3JGYueYDy0KNgXHVd3Hr+43AFULwO8c92o4p9jiMG+omwYCQKd4ZKCBNUPijyt n187khVyxh+qI9yo8zf3tWmUhfCypS9P3E9AZpaH2JiJkTN7pkzZBmpQlkIPSJKIBu5Q fG3dfbff2Xmk1s9m5k0UIhIiOErpp+9x1VBlHwjYuICFM7ie1y2oM+iDJs1tx+0uZjpX Dy3n8Hp1rEwuL35cXYkWOJjBYXwkT8PFjbGhIxJ+h2K2Xk8yvU3nvATAqRMS9RHU8u67 volg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=6GxJnChL0EkRvQ6lh9u9bRSoDdsYAnYOYAWy1//spjw=; b=pL3heB4sAl4fn3Paagj+nQSL9fdTGbZOTGA+75P2wTP5hUb1nL/9p07vrE3wXcICjT c83TfGVLwMfki2LQ8oOdYljlDychZwMLHdM7WhJdVrNgtijPH36wsBarNnUXSzToWHjA xteaND8D/0mn/axYu2/kZ5V9LHGeUh1EZtTUZWHYzDPAUYn6t4JwPTjWBzbitDD1HPtZ 7SsCIK6ryQ3fFgCPnoHgy04Jrdv/eGyz6vBgJUifdlKy0LrlXmhbTdkxfPx9LOemPfKi ttEM/xtwA2S/3F1R6tIjcdHegO1ikakp9KLDIoqYLF9HxmUSEmx96hyzwt/3tl7sIajG YUng== 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 d11si6939130edj.223.2020.10.31.11.46.42; Sat, 31 Oct 2020 11:47:06 -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 S1728360AbgJaSpW (ORCPT + 99 others); Sat, 31 Oct 2020 14:45:22 -0400 Received: from mga02.intel.com ([134.134.136.20]:34504 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSpW (ORCPT ); Sat, 31 Oct 2020 14:45:22 -0400 IronPort-SDR: hr4uColLGL921lzOaC1jvuUXlTRHuAcMDPoKsAgdgeh89U2xFvxbCqKkQ84HhCw3726JKNP3o6 k34mbino7YxA== X-IronPort-AV: E=McAfee;i="6000,8403,9791"; a="155728669" X-IronPort-AV: E=Sophos;i="5.77,438,1596524400"; d="scan'208";a="155728669" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2020 11:45:21 -0700 IronPort-SDR: +8KHV+OHWnoziTFRitP+nlKXQL9qyMHIa86N7DYyec4mHah/F29GpowQ51DHJMzBHEZ566CXiO 4rVOgGfBNkNg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,438,1596524400"; d="scan'208";a="305061689" Received: from lkp-server02.sh.intel.com (HELO ee7b80346e9c) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 31 Oct 2020 11:45:19 -0700 Received: from kbuild by ee7b80346e9c with local (Exim 4.92) (envelope-from ) id 1kYvsN-0000AK-3D; Sat, 31 Oct 2020 18:45:19 +0000 Date: Sun, 1 Nov 2020 02:45:03 +0800 From: kernel test robot To: KP Singh , linux-kernel@vger.kernel.org, bpf@vger.kernel.org Cc: kbuild-all@lists.01.org, Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Paul Turner , Jann Horn , Hao Luo Subject: [RFC PATCH] bpf: bpf_get_current_task_btf_proto can be static Message-ID: <20201031184503.GA18952@1ec460b3ae4c> References: <20201027170317.2011119-3-kpsingh@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201027170317.2011119-3-kpsingh@chromium.org> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: kernel test robot --- bpf_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c index 7b48aa1c695ab8..e4515b0f62a8d3 100644 --- a/kernel/trace/bpf_trace.c +++ b/kernel/trace/bpf_trace.c @@ -1029,7 +1029,7 @@ BPF_CALL_0(bpf_get_current_task_btf) BTF_ID_LIST_SINGLE(bpf_get_current_btf_ids, struct, task_struct) -const struct bpf_func_proto bpf_get_current_task_btf_proto = { +static const struct bpf_func_proto bpf_get_current_task_btf_proto = { .func = bpf_get_current_task_btf, .gpl_only = true, .ret_type = RET_PTR_TO_BTF_ID,