From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta1.migadu.com (out-184.mta1.migadu.com [95.215.58.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E0E98F6D for ; Tue, 8 Oct 2024 01:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728351638; cv=none; b=nFJHf3fxyepa7niZNvEtW8541qHUJmbog7O0tXW9wRtQAS+uh8McZN46LBKeMyhEnRwNdsv+nQuBUzPobwDMs6RN4WK1hFRGdIDCaVp8wnpNnoYx00qairwpXfuiHLVeBCxXMCc+BxDfR/AfvuJIV/FXobYWgBAg8ABF5f6jSz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728351638; c=relaxed/simple; bh=eKjkEiK0M8zCM/i2nDpciKQNkUtvOXU3e7KU34edvtM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kVvSsTX7DjshSJUUjfc2cKMN4RaaYVsU1bhC4a0Mufm7nIPjr2kb3ijlycQepE0ALAR6cZXS7455v6jactjpS0A8bBEOtDr9+pbrlf6SHWFEpXRvkmgt5zkO4bosopv+afo3xNmDJRQ8Hc+WT58hBN3LKcW3+gUeKRxgFUsv/CE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=TWIrOZoe; arc=none smtp.client-ip=95.215.58.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="TWIrOZoe" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1728351634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1kT40hZD4JeJdpTAirLiYVovjWzYchmhEqCnIfHIpZo=; b=TWIrOZoedTiJwPnN13yAhdLo/x0/uj4W+pZG2RBXU9mQQv1+o0nF2SfpPetO3WGfoBHNWh 6OjJHB1wS9GUug18nACXshxKulXd/ARs8aH/bkvXJNws+zdhtxjHe7I9r+zDwpi+flTiuj bIlnz3p5xLDjlPussRkZaC20UZOuwrM= Date: Tue, 8 Oct 2024 09:40:23 +0800 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v5 1/3] bpf: Prevent tailcall infinite loop caused by freplace Content-Language: en-US To: kernel test robot , bpf@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, toke@redhat.com, martin.lau@kernel.org, yonghong.song@linux.dev, puranjay@kernel.org, xukuohai@huaweicloud.com, eddyz87@gmail.com, iii@linux.ibm.com, kernel-patches-bot@fb.com References: <20241006130130.77125-2-leon.hwang@linux.dev> <202410080455.vy5GT8Vz-lkp@intel.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Leon Hwang In-Reply-To: <202410080455.vy5GT8Vz-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 8/10/24 04:32, kernel test robot wrote: > Hi Leon, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on bpf-next/master] > > url: https://github.com/intel-lab-lkp/linux/commits/Leon-Hwang/bpf-Prevent-tailcall-infinite-loop-caused-by-freplace/20241006-210309 > base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master > patch link: https://lore.kernel.org/r/20241006130130.77125-2-leon.hwang%40linux.dev > patch subject: [PATCH bpf-next v5 1/3] bpf: Prevent tailcall infinite loop caused by freplace > config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20241008/202410080455.vy5GT8Vz-lkp@intel.com/config) > compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241008/202410080455.vy5GT8Vz-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202410080455.vy5GT8Vz-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > In file included from kernel/fork.c:53: > In file included from include/linux/security.h:35: >>> include/linux/bpf.h:1392:5: warning: no previous prototype for function 'bpf_extension_link_prog' [-Wmissing-prototypes] > 1392 | int bpf_extension_link_prog(struct bpf_tramp_link *link, > | ^ > include/linux/bpf.h:1392:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > 1392 | int bpf_extension_link_prog(struct bpf_tramp_link *link, > | ^ > | static >>> include/linux/bpf.h:1398:5: warning: no previous prototype for function 'bpf_extension_unlink_prog' [-Wmissing-prototypes] > 1398 | int bpf_extension_unlink_prog(struct bpf_tramp_link *link, > | ^ > include/linux/bpf.h:1398:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > 1398 | int bpf_extension_unlink_prog(struct bpf_tramp_link *link, > | ^ > | static > 2 warnings generated. Ack. I'll add 'static' in patch v6. Thanks, Leon [...]