From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 339D21B4F1E; Mon, 14 Oct 2024 14:57:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728917841; cv=none; b=WFm8wuuD1FQkICBAw4SvJthVKrp3E7ZAFrtWBPB2yyrMICxpxTQFRoxlpiMBHptWnnjMhBky+81vjrdZQ4KxP4CdVJaWQ61d8mxu7rG4p/XHFCUOflSYkytnMqY0xX7tgiGqstgBJyqh4W4q58/HYLHZGXpfFx4ZJd4QD1ijpFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728917841; c=relaxed/simple; bh=SwjkrJ5eNGvsJdD3DE3spy/dmjqFZwWuKcuQPviB51E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PBnoPV1go6T6CQfiXJtPNtqVQbBbjVjfEr26xM2iDjdbqsdepUnZK1ObXZjHJlp/pIKsN+v81GOKNy2wT/SC0GBY/aiqk4sJWIJwwavSkMyHt2ZQrG//Z1qKOiBmi69I+veJzZxhBpsmmTQ5+UPCoUDpQ6zpxUNzbWA6e2VKhcI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qY6gXv6H; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qY6gXv6H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96512C4CEC7; Mon, 14 Oct 2024 14:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728917841; bh=SwjkrJ5eNGvsJdD3DE3spy/dmjqFZwWuKcuQPviB51E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qY6gXv6H5iLKQHhu1gT5DHnV89R5rpUfPs4gS4NeVx/0B8X5CUuNXcVJlbvzaqwST iC3JqyL3eteZL19qgW13mZGd7BTrI2qgmC1uULoe/6CqlwobUFS00gC4VfyufQKdso yUWV2BsDMTKcpHMa2aGpqC0hS0Pp1n9FzNB46qMk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Tony Ambardar , Andrii Nakryiko , Sasha Levin Subject: [PATCH 6.1 150/798] selftests/bpf: Fix include of Date: Mon, 14 Oct 2024 16:11:44 +0200 Message-ID: <20241014141223.809591825@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241014141217.941104064@linuxfoundation.org> References: <20241014141217.941104064@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tony Ambardar [ Upstream commit 21f0b0af977203220ad58aff95e372151288ec47 ] Update ns_current_pid_tgid.c to use '#include ' and avoid compile error against mips64el/musl libc: In file included from .../prog_tests/ns_current_pid_tgid.c:14: .../include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include to [-Werror=cpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: all warnings being treated as errors Fixes: 09c02d553c49 ("bpf, selftests: Fold test_current_pid_tgid_new_ns into test_progs.") Signed-off-by: Tony Ambardar Signed-off-by: Andrii Nakryiko Link: https://lore.kernel.org/bpf/8bdc869749177b575025bf69600a4ce591822609.1721713597.git.tony.ambardar@gmail.com Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c b/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c index fded38d24aae4..2c57ceede095e 100644 --- a/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c +++ b/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include "network_helpers.h" #define STACK_SIZE (1024 * 1024) -- 2.43.0