Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1851544lqp; Mon, 15 Apr 2024 22:17:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXr1h1WTuJrMAczZjif8ge9gKC/3TXJXB3hx7jd2Vqk+DY2NLcrAf0l23ctbwtXuk3nwglyI6pRYYtFQ/IoVstoofglbP/UdEFEFcQBLw== X-Google-Smtp-Source: AGHT+IF8s+vAvnoKIgM9zUkAv2jvlIlCsWfpfD2wlR715usNeTSEi1ergWGxAr939NJeHlzTg52B X-Received: by 2002:a17:903:2348:b0:1e5:e664:9c12 with SMTP id c8-20020a170903234800b001e5e6649c12mr2644679plh.0.1713244655543; Mon, 15 Apr 2024 22:17:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713244655; cv=pass; d=google.com; s=arc-20160816; b=szrHi1LimFX+mEyImlwOgb0o0rAErwqZHkZnysO0TEsa3wRP1Wqmj9Y5h6BsP6xrf7 FtFtmLNf8MabdExroL2ffd5exolnOt/XRPQy3jubD5QHm2AIXUCp1cvh+IwPHJx8poCS e+m5GgHqpOkPdoYhRNM1BXK8NrmFOKkDpSzc0h0c22+paUvHZPPbEyq5cANq8lbyveL7 y1DQ0Gj78khwb+dmlmsHHCg9cBvbQi+YuL1k6de41GIXYSbkRB992UsqOc1wol0LcFBm dTrgjGzDb9CgfamY+6iQmdhRhZhs122lyMjH0NBGR82vkFVX6PNMIn+joP4eG49QLPQ+ rWIA== 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:dkim-signature; bh=h+jdsAeqCZ9ji/KUH4hSEhUfqGDV3k1TnFIBI36nkVQ=; fh=5r26uje2FCco8ie+C0TLdxGVhe1GJ7COtYIRL5hI68U=; b=0jTdsfPoYT8+n/y3w1JGeBQ0N1VIBGF0yoW2LnQMmz4nzgWo87S30cTlEdhQPVfauv DQYjeksD8OKkF8E17G0Hty2qVyQrvUf6GBUgN7h68QvC60kyp9bgKkybCBT4O5cTa/WZ iB5r7M2yCaC9Tp0z7w9C6d6FuDfy3AxDr/BKvAXwXu+/8kbzOFt5k5QGm08kUPAbf8Ju LxRnFPquNlQmN1LXNdo4p2gogAQWKRicfWQDKakbPIElUGUruw8PIpVEW/0pFLFF3mY+ JqAnZht0Y1W1ZXtufG1k1h6Qh1yC7dyoLvdmORBMa/ImaPVc8gnnXpJp4l9RCxMyow51 hzJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EdcQxBdw; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-146264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q3-20020a170902e30300b001e2a31c0f5dsi8565889plc.340.2024.04.15.22.17.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 22:17:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EdcQxBdw; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-146264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 8BD93B20D8D for ; Tue, 16 Apr 2024 05:16:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA6513BBE8; Tue, 16 Apr 2024 05:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EdcQxBdw" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EB0C39ADB; Tue, 16 Apr 2024 05:15:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713244545; cv=none; b=mWn9Au9LQD5A/Bbq1NfXaIxGUjR6tMtZSYcZmNblG228LS8Xve4pIpO+XVyCuvLe5IGkpbDO+bM5yr3nNXwEQ7rAcTIkGxL1WnFEcS0GxsNilY/IlawXmPNBx1HnhyahDggEZS9FsH6t160zxHeJvMDHSkqdLtGGdkO15NEtRGE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713244545; c=relaxed/simple; bh=NKRLSKQh9GTrVLpQdC+orpgnX7CaNpuYCSVhDJ1A5oQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nesPFeLvWlCFxpAreLQufzrUMnMz1b93eC0IPyBpxD7TwNtj6nVYDAE6MLZ1MibZ/J2wN7FEusUM6RP+jKUDpSt4Sw6C049PRAleAbT61AUpj3QKKCeBtBJ9LB43HZTayQq1SBeG2KJnRpKhL8lmWvMHs95YS6048SDNGQcAaNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EdcQxBdw; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a5534506790so29776866b.1; Mon, 15 Apr 2024 22:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713244542; x=1713849342; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h+jdsAeqCZ9ji/KUH4hSEhUfqGDV3k1TnFIBI36nkVQ=; b=EdcQxBdwIbA8tQlZwH7HGJB6z1In1nPfgUVRz0xBnAEiNmsvztsQB3Oa6kvYbXMX05 p7NWX1eC35JwD0YDNAFNNHJXJXEvA1hrVpcNiPVqXWuVIm5+EzwWlAlNekGoSJDvgNWE yisBkFT4NC7VtxxbSGSDOpCuNRqiYRIe2+aDNykYf+Bvp1rPakJ4btGppDFnuEXZzc/4 aAYDSOTVQ1nrLH4E2Jww7vWt4wlsS50vXjakFsU8+//lWiRT3J0WpKX69xGcJ6JjySVa Lo1FdJ76alKADeXwpbJ+EH/Yslr2F/rl4ZGwEZF412R2DSDxZOJGtZ1QIXkaWF9hDvyn ntvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713244542; x=1713849342; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h+jdsAeqCZ9ji/KUH4hSEhUfqGDV3k1TnFIBI36nkVQ=; b=SOwnPnheXQKNdyzgzFaSoqtm1IsG7/DisB9HG0V4k/JhVgnY2t38DCQgiUf1dG7BB4 mNlAoC8ZDd9PSyHwvcTpaWvAhzwUVr3NoKR7i9dB8pS4a8rSUIRERR8+Xo0yVOSPp6s9 /51KBZAyIo1B7DyseJrU3FyRlH8W5Vor6hcRZ29gMHBE8xcetR4EyHmbPyYiwCcDH/Y3 skqU5q2VNkarM11dFlnbAxzIWTziqVg2P5gkt42wgDjastzuHAb8v7aNRpUtVHcRDzTR 6Th5DMYd//WfppkGXnWuAysapuwUoKJ1fv10rCijLx0o1s/X2Mfuvs1y2AqZwHiv6je3 i+/A== X-Forwarded-Encrypted: i=1; AJvYcCUezLrkT6FNhs4Lk72nzjWPRdkQPQLdIHFAvAUQBcJ5RBPrIC7gymDxLhovu7PCSHaJEH43sOVko3EpvvryKlidLODDEH3bD5fXGGfohwIc7DxbvT2AWAuXp+8IOHNEQRXP X-Gm-Message-State: AOJu0YyHKKu9Rqb2x+3CV3f3tDeTVKfQXZn3L56MS72lqczapITDW5FR bjyKJVRZUeSXnLA2ef3/xtGlIKsbpZWPBQXMODrtul8Krum8+lMf X-Received: by 2002:a17:906:eec9:b0:a55:144a:adc2 with SMTP id wu9-20020a170906eec900b00a55144aadc2mr2144455ejb.6.1713244541343; Mon, 15 Apr 2024 22:15:41 -0700 (PDT) Received: from dmitrii-TM1701.. ([87.200.40.246]) by smtp.gmail.com with ESMTPSA id si5-20020a170906cec500b00a51a5c8ea6fsm6354091ejb.193.2024.04.15.22.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 22:15:41 -0700 (PDT) From: Dmitrii Bundin To: olsajiri@gmail.com Cc: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, dmitrii.bundin.a@gmail.com, dxu@dxuuu.xyz, eddyz87@gmail.com, haoluo@google.com, john.fastabend@gmail.com, khazhy@chromium.org, kpsingh@kernel.org, linux-kernel@vger.kernel.org, martin.lau@linux.dev, ncopa@alpinelinux.org, ndesaulniers@google.com, sdf@google.com, song@kernel.org, vmalik@redhat.com, yonghong.song@linux.dev Subject: [PATCH bpf-next v2] bpf: btf: include linux/types.h for u32 Date: Tue, 16 Apr 2024 08:15:27 +0300 Message-Id: <20240416051527.3109380-1-dmitrii.bundin.a@gmail.com> X-Mailer: git-send-email 2.34.1 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 Inclusion of the header linux/btf_ids.h relies on indirect inclusion of the header linux/types.h. Including it directly on the top level helps to avoid potential problems if linux/types.h hasn't been included before. Signed-off-by: Dmitrii Bundin --- Changes in v2: Add bpf-next to the subject include/linux/btf_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/btf_ids.h b/include/linux/btf_ids.h index e24aabfe8ecc..c0e3e1426a82 100644 --- a/include/linux/btf_ids.h +++ b/include/linux/btf_ids.h @@ -3,6 +3,8 @@ #ifndef _LINUX_BTF_IDS_H #define _LINUX_BTF_IDS_H +#include /* for u32 */ + struct btf_id_set { u32 cnt; u32 ids[]; -- 2.34.1