Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp544828lqp; Wed, 12 Jun 2024 09:01:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTKpDYY5TM9pgNqL3A/XlalbXpygKIZMrZvPSMyMdPkMzvgE9aMJ3VbbAQ9F0TYef2BiOV6USPBhRn33O3liUj04dPBywtXYauZW2P9Q== X-Google-Smtp-Source: AGHT+IEBXUIUVyDUvszeTgfNwQ6UkIYs+ZlsNXvs2zrbToWytnhqHwruXCgY4e9I6ZXnm51U8cte X-Received: by 2002:a05:620a:3904:b0:795:54d8:698f with SMTP id af79cd13be357-797f600e8bbmr230532985a.6.1718208107485; Wed, 12 Jun 2024 09:01:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718208107; cv=pass; d=google.com; s=arc-20160816; b=RlrwZIhG7KBFmovboo/OAgZHyclxm2foP9DhUxK74fSr6/0gbvBNFAgHz5tbMy1G65 jWTzQcgoliPxqEDIjvBPpMy7UXLgNYaU9HpkB9zjzpI4VLQdMfFQK0ZUwo1JGDsLoq3x DTyJv4JKI8IX7yv7J217lacLQvo8MVAtSBum8TnxeiOQq3l+X3RGGOpXaMdm3RIHCCVx gQ023qrWkNjdHGkCsb8Y7BpT8afLFmaPgvT6S0n4t+5E2RdbIwzLtUiGpcZJHx8eDJV1 Bt5vNKcNK/DKOPABcOnMHXVftg3SU7n/Kq47WzbqzAgdYGt18ZN7iou6FBU1npPAKMu3 w75w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature:dkim-signature; bh=ezeG0+F5tOubWbkL94aTK4e46SIjo+JWMalcSljhHdQ=; fh=xEC8WQTZfjSMIeYU5b0O0ZCP0QkTxL9kjGjXZScC7eE=; b=B+Z9uLZXE6S7OGWfdlVF33ZobWCQfXpRuuUmctk3rl9HVun7fC//Y60RfvE14VBMI4 AsfkeQoCz5O01fpxOFS1HN6VM2x39SQ9utQ10J5lfr1Gk1DLZ2PusNr2AOXfiSfcTF2T Wwoi6oWsHW49Sq0wt/K7A/uecwo9Iq7rIDeO/E6XUC5/bVz7UBD1ta8mPrcPwKrWW9CN vsUHEbla0uWuV6ZpfiuauZiK1Zbfl/p2Z0AzKJ/a0lwLiu7HWcjh4VQInnLJaqObavRX kmVSDvQhYzWJYTwoaSJ8BPxVp+TrzdpTZ4cq8LURICRTro6Z4wTotI1Vu+9oXyvDQyAg yFkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b=LDM6cxob; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dz4paSqZ; arc=pass (i=1 spf=pass spfdomain=dxuuu.xyz dkim=pass dkdomain=dxuuu.xyz dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-211845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211845-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-795a5d45574si876812485a.326.2024.06.12.09.01.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:01:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b=LDM6cxob; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dz4paSqZ; arc=pass (i=1 spf=pass spfdomain=dxuuu.xyz dkim=pass dkdomain=dxuuu.xyz dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-211845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211845-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8F84D1C23DD5 for ; Wed, 12 Jun 2024 16:01:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EB2C180A97; Wed, 12 Jun 2024 15:59:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="LDM6cxob"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="dz4paSqZ" Received: from wflow4-smtp.messagingengine.com (wflow4-smtp.messagingengine.com [64.147.123.139]) (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 D8D84183095; Wed, 12 Jun 2024 15:59:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.139 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718207950; cv=none; b=eXbr68CzR71mJe+9K73UCAdKVWA3xd0Pgh/Nxx3ZrB8miO354vx7gxiPFOZPMf1LpUcmzI+93O9338osFzd/dQScX/r+QHYSMvl0R+NmqhV75CeomxHnq/KgtcG1QXdvCU5IgCLOWWC398gEQJGTea6EVhLMSwkk66UUKvqCfbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718207950; c=relaxed/simple; bh=fBPXvgQBNpmEAIneidG+g4NUcTeJDU/Ff0Ik5m1ytq8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hXS55EUujan5zdqWWZDHONPWhUiodv5exrfZXt5hAXs2wBlaxIIxRvXGLZPeAxaE/VVC872zPYPU3t7EdfvuUi5wx1t8b/tsGTGMMbIqbAeI3kgRsqHraiWl/yF21hS2TIooaw3mmeu1eHwq5AnhX/2nlX+LkvT97259EsjDhyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz; spf=pass smtp.mailfrom=dxuuu.xyz; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b=LDM6cxob; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=dz4paSqZ; arc=none smtp.client-ip=64.147.123.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dxuuu.xyz Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailflow.west.internal (Postfix) with ESMTP id CA2202CC017C; Wed, 12 Jun 2024 11:59:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 12 Jun 2024 11:59:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718207946; x= 1718215146; bh=ezeG0+F5tOubWbkL94aTK4e46SIjo+JWMalcSljhHdQ=; b=L DM6cxob1DdyXiGpyaVE11sdCe38E3Nr6j1VJpKcZAmCn2k9j+e8/kElhCY8uRrOn DObb8uO6IoYaATyFciPediAgRyjKLSA/lqRkN7lfquCsdYzFOlXwqZ0sbRYTlkah n/Mc11cU56jce2swsigNSffbqXrskBXm4f6Z/ooPZaEH49K+pXeSXs0XFCnN2dUo Ov4OJI6lkoLF6jyB7dns+dlKYoEQ/kaMyDH40IXYEU3kbEGjVX6Y2mBX2w9NlyNk WIJJ4GelV6YME4gnUNtKnPSXDoVsaoEAFgeWHAlwPrNWehim27sApShgn438RQdC e42xtLrE858xh71S74b7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718207946; x= 1718215146; bh=ezeG0+F5tOubWbkL94aTK4e46SIjo+JWMalcSljhHdQ=; b=d z4paSqZ+m6tPjW0vwXzyQ4SkBXG+DrG5duaLPJCRqc/fC9/Msb4EnXHCcX2eILHN Rf60UhbqEYTorUhdG5vSzZ8NAj8gq5yUNZkK2WM1cywBftluNOAFkYAkMRoYVS+4 22aLqW/b40ZTCl08YCgd98FmnI27RP04fxgrlxqyrC4KKpYNQqkuaGhmdiTYIn3t BF+4u33VC00YSsbd7Kh2MRTLDUTRlUaQlULgt/oMLSKgo3Ht+VII1CQcK0VcrY6y 5QMzlhaAthDhylgGyRDdPsONyFcSjo+d78hZvugjzJKMGh2/FfbzVnWmfmVODH6D O0y8TMhZxoVIMVBioVmMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedugedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpefhvf evufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeffrghnihgvlhcuighuuceo ugiguhesugiguhhuuhdrgiihiieqnecuggftrfgrthhtvghrnhepgfefgfegjefhudeike dvueetffelieefuedvhfehjeeljeejkefgffeghfdttdetnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Jun 2024 11:59:04 -0400 (EDT) From: Daniel Xu To: andrii@kernel.org, ast@kernel.org, daniel@iogearbox.net, shuah@kernel.org, eddyz87@gmail.com, olsajiri@gmail.com, quentin@isovalent.com, alan.maguire@oracle.com, acme@kernel.org Cc: martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, mykolal@fb.com, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: [PATCH bpf-next v5 04/12] bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype Date: Wed, 12 Jun 2024 09:58:28 -0600 Message-ID: <437936a4e554b02e04566dd6e3f0a5d08370cc8c.1718207789.git.dxu@dxuuu.xyz> X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The prototype in progs/nested_trust_common.h is not in line with how the actual kfuncs are defined in kernel/bpf/cpumask.c. This causes compilation errors when kfunc prototypes are generated from BTF. Fix by aligning with actual kfunc definitions. Signed-off-by: Daniel Xu --- tools/testing/selftests/bpf/progs/nested_trust_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/progs/nested_trust_common.h b/tools/testing/selftests/bpf/progs/nested_trust_common.h index 83d33931136e..1784b496be2e 100644 --- a/tools/testing/selftests/bpf/progs/nested_trust_common.h +++ b/tools/testing/selftests/bpf/progs/nested_trust_common.h @@ -7,6 +7,6 @@ #include bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym; -bool bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym; +__u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym; #endif /* _NESTED_TRUST_COMMON_H */ -- 2.44.0