Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp242059lqp; Sat, 8 Jun 2024 14:18:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxXZmsuuWryPxqZsSHUGP32XWyok1UrJrcxClZ6a8Y4E8sAreMUr95QDbzUSpbfIoZUzCVJNxo+1hGJS70vs8QZTX9+Mt7+655ZKi82g== X-Google-Smtp-Source: AGHT+IGVaeXW/y9GAPfqbEeXvM/n1j39du9OOHDJJFyswFQx6XG21xhyETnS+pt57haUk+h2iclA X-Received: by 2002:a05:6358:3398:b0:198:ee95:e50f with SMTP id e5c5f4694b2df-19f1fe19a1emr763095055d.10.1717881484114; Sat, 08 Jun 2024 14:18:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717881484; cv=pass; d=google.com; s=arc-20160816; b=WAGZVOzoYppYFRNNgqGvMtHoYTWQM+ZrPyKe4cmHvPKLQHGAcOuaWNA+WfYe90DR3s SKDMIDaGp9JrjspZOSgywf+q2HIQFChepiWXY5RApW7UlEds4HWUm4xApkePJ00zS3/p z6k7AcI75wat+NY/5ilp7KImmAhBSIzq5rGYgWars1JCOfI+fkOk5I5SR/P487ZyusXY Sm1gHfrQKetW/M9zNKJ5RC1HCG018Ge45Xxg+Lzo9xiy/QX9oa5ilC0lCnZ6bY3Xl4vu OnQRTTEqPNXRIM34ysDUxpRd4w2j1d+f2pLm4oRd8MzdiOeqsUiV2/hpS+egtnOJ0otd ifKg== 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=26A8vHe3UnZ6l6G9vH1BQWZU+wmQLBMUefgl7dTG5Ls=; fh=A9N97PhRMrizphOn16cDi861hjU0JCClN2SLzqfjH4Q=; b=ZjTshrhcpJiE71kMX3e332yqQ+L1dOoizU/oBiwdx8BCTVU4Wm0JxyAxWXoX8dtNtj MC685wHhLW5F09WdhpR+Eh6gMn3AJOhFibQ9wYvKvOTrbKPwD9bKIzhu2YNvLS3Au0Lv FaqSh/gpI5UWfVmMmF84c4aQeXC1pUP3NLVZhZ5XllNQZJlpxCfYLhZ+kwVjVVBN+MUd w809eh6OdlVQ/xtt1TKoPob58lAfFNn9SiJLUITU7w4RM7YsI3JTu5xKqbq8c8iLbaKC hsCanD0vav/gyNvnBztHprYJGYtaZRPGrLYcUd2cNxXL9t1hQgK/ugHgv/Q84wYWitxv Iq0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b="c68s+j/H"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Eg9jpA67; 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-207193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207193-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de261ca9easi2740747a12.425.2024.06.08.14.18.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 14:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207193-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=@dxuuu.xyz header.s=fm3 header.b="c68s+j/H"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Eg9jpA67; 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-207193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207193-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 33908B217F0 for ; Sat, 8 Jun 2024 21:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D90FF4437F; Sat, 8 Jun 2024 21:16:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="c68s+j/H"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Eg9jpA67" Received: from wflow3-smtp.messagingengine.com (wflow3-smtp.messagingengine.com [64.147.123.138]) (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 8415740879; Sat, 8 Jun 2024 21:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717881391; cv=none; b=eiqFkTv5llUqrHhNyuxkTub9NQUtyUlZEZ2Nu8v2OZjb084DmSRZGcAyoR36Z7RYLcu0I1kzqOLiEB7hUXi9TlWXF4KFBqe+vygJdlx1kJDGCA69FzB8Tq7uh3SiFSqbLzcadeB6HBWlTvsIUxCklanEBFFXG8Mmb8TuXHfbpEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717881391; c=relaxed/simple; bh=DU5dy6CIqpni5W9PFs52ElMuDjzzVd6o6tdcoGpKBbM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=thmPPH8mSifwBjXoEtsFza+wnsPxMZvROZ+0iHkGb8woieB1MHhTV7pXdMwb8mv1jy3HZzlZgAzEluCOUNmi588C8Y9j+kjn9cLPLSA1jhz3Tdc3bqcWPyR6UOQRgreqXukMpgr8CgepxWvqD6JbYoHmlPmBB/o9PE8crIv5e8s= 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=c68s+j/H; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Eg9jpA67; arc=none smtp.client-ip=64.147.123.138 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 compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailflow.west.internal (Postfix) with ESMTP id 603642CC00F8; Sat, 8 Jun 2024 17:16:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 08 Jun 2024 17:16:29 -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=1717881388; x= 1717888588; bh=26A8vHe3UnZ6l6G9vH1BQWZU+wmQLBMUefgl7dTG5Ls=; b=c 68s+j/Hmn7FrSX46X473w6/h/u5LolUxnQJHnTYqlOMuNMsbTS0duRbygUeQqFXk Lt3QgZYioxSb/YY/mdwC0GSv3dZPDGZWdGk44ZjXnCtj9eKQB+d0FJvSspxpn1dX xy8wvA9tgHv2GeKz964aPfJFdMWBOosRYbh88ZU/8rcf43yeIrCt2KlQmxO1V2Pn sIELtyu/6UVW2Oeg3ryADijddzQvE9rXubVO11OAKEwNn0F/RbkGUNyTLn+4WtW/ Gi9aAIkG8QKLQ0FxdSuFb5G9oO3f4+6j9OWBnNnYIkCSongPWp5O7VJTVNUx8hY9 iSRcPVBBE0v/Awu8ozuZA== 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=1717881388; x= 1717888588; bh=26A8vHe3UnZ6l6G9vH1BQWZU+wmQLBMUefgl7dTG5Ls=; b=E g9jpA679d7bNOtU7L37u49ZL2iuXbUS86KrFv2sjTGA90SmQOPZPwbhLchumkOuc 6aEe/+O41FRVp80UvAbH/UOcKJ6ILrbQ23MGAGcRPPTj7zeGX5vqGg0GZHaeOcHR CiG2c7aPGeVmUFAQni0CS5idAnLpXr/NIa9EFxtYQW9uzOr8ks2+gMovrfm72gtA Nq6eteIgf+Va7vqC23XvTu1Ry1Z7syVMCyCp/8AxHWoP9q91S7wUMcCKXEMAdJt9 eYddV8QQcd3Wd+Wgv/ZJRXgzK6gcpdS5CoqhcgW8koEsmVKMTEMPW3FE1BlOjO/0 NrzPhROOsa8nPq9CHvO5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedtgedgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpefhvf evufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeffrghnihgvlhcuighuuceo ugiguhesugiguhhuuhdrgiihiieqnecuggftrfgrthhtvghrnhepgfefgfegjefhudeike dvueetffelieefuedvhfehjeeljeejkefgffeghfdttdetnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Jun 2024 17:16:26 -0400 (EDT) From: Daniel Xu To: shuah@kernel.org, daniel@iogearbox.net, andrii@kernel.org, eddyz87@gmail.com, ast@kernel.org, olsajiri@gmail.com, quentin@isovalent.com, alan.maguire@oracle.com, acme@kernel.org Cc: mykolal@fb.com, 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, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: [PATCH bpf-next v4 02/12] bpf: selftests: Fix bpf_iter_task_vma_new() prototype Date: Sat, 8 Jun 2024 15:15:58 -0600 Message-ID: <91fc7716f9ad70d226e93039956f22fd05c934b0.1717881178.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 bpf_iter_task_vma_new() is defined as taking a u64 as its 3rd argument. u64 is a unsigned long long. bpf_experimental.h was defining the prototype as unsigned long. Fix by using __u64. Signed-off-by: Daniel Xu --- tools/testing/selftests/bpf/bpf_experimental.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/bpf_experimental.h b/tools/testing/selftests/bpf/bpf_experimental.h index 3d9e4b8c6b81..8ee7a00b7c82 100644 --- a/tools/testing/selftests/bpf/bpf_experimental.h +++ b/tools/testing/selftests/bpf/bpf_experimental.h @@ -163,7 +163,7 @@ struct bpf_iter_task_vma; extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, - unsigned long addr) __ksym; + __u64 addr) __ksym; extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __ksym; extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __ksym; -- 2.44.0