Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp252947lqp; Tue, 11 Jun 2024 03:37:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqh8xXXkYtcTZmV68HbBcGZ0xnF8OAhNeqxBCz1i/4BIdOPvvIifUg+NzoJ2eSqoswiT4Lf8a3f13SSbxxhA87slmnSkoPKHyES45Pyg== X-Google-Smtp-Source: AGHT+IHTd9AVPWFLVPgtU/EcqPE2DnH6FnLt3dJyO/sODeigA/c1f/5j2ZI7ajCVCIN5kOlm5lHq X-Received: by 2002:a05:6359:4c86:b0:19f:4be7:435a with SMTP id e5c5f4694b2df-19f4be750bemr866557255d.25.1718102244140; Tue, 11 Jun 2024 03:37:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718102244; cv=pass; d=google.com; s=arc-20160816; b=aHgGYiAK5Mf0QOJLoxk8g1ENDssbu5rbM7pN5GK8pe2dlgYKIR9q5jgi7VuZkDi2Nq ZkMqqGpZ4vbL1iMV+gdDpee51uPuYHIaSn1haA46fU8WU0EAjxCn6BO1jXL3h5aBrNM4 X/HFvyoBiUnM/miniQ7Hto2DyCRr+EXt75lKmWYTNoHzgQPwZ83BWk8p1HT7LxoAudof wSo3BsdkSH8w/5I7vO4XDsxw/2GzEu98W8d40s1qIMEZM1sGSndftXlEt0zVVap9j3LJ FwE+hW1D2atSF2mX4Bm4eG20tLbMqKSTcjr1rjzuOYoI2qy28m8p8DiPl2KbbKJTUumq BLDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=c9HPz77HMuBA7Gyk0qvlc2YCXZhANiQcO24Z7gJswP4=; fh=QwdCF5UXM5p1EeLOoVeULdCyIbv11Vl9V9KvQctLymc=; b=po0QvWxU/YvSpxJvRFu+NTXbDG0OLwQYDFBBw9cFu1mvFWxnBwTTwTKC7nQhp2NlFF hfwJ/dqU7weniK82HXZTozkj0uXcTpC9VEyMdepQ8m7WtDdSTVLvnEQ8BE9h2GYYB0y3 PUGrloBG3QRZSJXUXIDaOu0QidcpxFAtxw2xLWOb09f2/+HEjYzy+IJoGwrjR6HUHVHW 79tAqfj0oE3buZhZjiSfh+LA0EQC4IU6sgn/dY3n03qqq3SrK7woFxgHAXxnl6sN02tZ H/fc45Da829qEb+5v7zKn4tv6e9wluZsWxBPOvmUQEgCMiqpkhuSivA5ARfgXS/xm7qj ERyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YhGNiTFi; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6eb26acef3dsi4177054a12.852.2024.06.11.03.37.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 03:37:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YhGNiTFi; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 860F2B21985 for ; Tue, 11 Jun 2024 10:05:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D324178381; Tue, 11 Jun 2024 10:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YhGNiTFi" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 A3B0FE57E; Tue, 11 Jun 2024 10:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718100320; cv=none; b=k5xieUGz/V32mT2+1Vy91vEF6G9OZYCQR/ApJhKMXQzQ6SOO1g6/45M3408A1Qfjw4QeIcJ7h1BdXGMtszURvsp9KVMTgoXxlM3jCaLwAy7rekKbS5SUgRGEWj/wLJnD0DZkrg8Pe967JpBUPpFmtShqNIwUwCh6OJSKB+fLp1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718100320; c=relaxed/simple; bh=z7xGmJO7rnhCGOUXwfuTKI3+a9YP3yCgBsSXkvQaVaY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PvDjhntNOXplnI2zfW1hMOCV7Wuzaiqe/y9fGPrBmP4hMRYhfSb+raKY/41ayd7AWKPc6SKrg9gBE7+Z8Jf79Zn14F/qmZv42D6UCtEucIQOsKueySl0k7kMX69jSyHIGRI4h6TFqsZ33frppJUPOQx9JpkYjINPxwrhgRp7kUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=YhGNiTFi; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718100319; x=1749636319; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=z7xGmJO7rnhCGOUXwfuTKI3+a9YP3yCgBsSXkvQaVaY=; b=YhGNiTFicONEy0kjzU2FfrwnB82Y5t2mIoQ4TmHRTatD9XbA3bxZ8GH3 Boz/zZgGEk+/Y+chRx8ycGC4AfJSaAOeH1sHqaXsIO9o6X8DvYbiu/zBf TOpuseQAqmVfmWCHslmQI64DvrhghkjxO4VPNxqGRqKjbJdxLUTLUIWvY Bh1zBP2OxeCmVK4tDZ1yz+SuFa58x3tdcxOoTx+LQ2KcaN4jw6YyJkuNO yUob0//sZOnrHpwPh+LlsVG23ZEjXiimchCLMDKeN16eJL25f5ltE5GmW C8vVmA6m6kmmnLiv6qljo4n9+/8WY7Khpk9L99xFWvgGFiQJfkEO1n+qB g==; X-CSE-ConnectionGUID: DhkG1XLEQZirbEh/jkR7mQ== X-CSE-MsgGUID: zcHgPH2LQaqnLcnIy7iKoA== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="14594746" X-IronPort-AV: E=Sophos;i="6.08,229,1712646000"; d="scan'208";a="14594746" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 03:05:18 -0700 X-CSE-ConnectionGUID: 5bvUzqKTTQ+bpYeibA3XFA== X-CSE-MsgGUID: SSE3ON8XRCGqRRkpNt+zsQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,229,1712646000"; d="scan'208";a="43782832" Received: from lkp-server01.sh.intel.com (HELO 628d7d8b9fc6) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 11 Jun 2024 03:05:13 -0700 Received: from kbuild by 628d7d8b9fc6 with local (Exim 4.96) (envelope-from ) id 1sGyNK-0000IE-2Y; Tue, 11 Jun 2024 10:05:10 +0000 Date: Tue, 11 Jun 2024 18:05:02 +0800 From: kernel test robot To: Maxwell Bland , "open list:BPF (Safe Dynamic Programs and Tools)" Cc: oe-kbuild-all@lists.linux.dev, Catalin Marinas , Will Deacon , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Zi Shen Lim , Mark Rutland , Suzuki K Poulose , Mark Brown , linux-arm-kernel@lists.infradead.org, open list , Josh Poimboeuf , Puranjay Mohan Subject: Re: [PATCH bpf-next v5 1/3] cfi: add C CFI type macro Message-ID: <202406111716.SluzXu9X-lkp@intel.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Maxwell, kernel test robot noticed the following build errors: [auto build test ERROR on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Maxwell-Bland/arm64-cfi-bpf-Support-kCFI-BPF-on-arm64/20240611-021203 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/cwhnmpn5yvg6ma7mvjviy4p7z6gdoba57daeprpc4zcokfhpv2%4044gvdmcfuspt patch subject: [PATCH bpf-next v5 1/3] cfi: add C CFI type macro config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20240611/202406111716.SluzXu9X-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 4403cdbaf01379de96f8d0d6ea4f51a085e37766) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240611/202406111716.SluzXu9X-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/202406111716.SluzXu9X-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/riscv/kernel/cfi.c:85:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | DEFINE_CFI_TYPE(cfi_bpf_hash, __bpf_prog_runX); | ^ | int >> arch/riscv/kernel/cfi.c:85:17: error: a parameter list without types is only allowed in a function definition 85 | DEFINE_CFI_TYPE(cfi_bpf_hash, __bpf_prog_runX); | ^ arch/riscv/kernel/cfi.c:89:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | DEFINE_CFI_TYPE(cfi_bpf_subprog_hash, __bpf_callback_fn); | ^ | int arch/riscv/kernel/cfi.c:89:17: error: a parameter list without types is only allowed in a function definition 89 | DEFINE_CFI_TYPE(cfi_bpf_subprog_hash, __bpf_callback_fn); | ^ 4 errors generated. vim +/int +85 arch/riscv/kernel/cfi.c 81 82 /* Must match bpf_func_t / DEFINE_BPF_PROG_RUN() */ 83 extern unsigned int __bpf_prog_runX(const void *ctx, 84 const struct bpf_insn *insn); > 85 DEFINE_CFI_TYPE(cfi_bpf_hash, __bpf_prog_runX); 86 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki