Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3050853pxb; Mon, 4 Apr 2022 06:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuu44w8BatORxRC9a087A9czwlFA7lXYTRW/Z9pyYX5EO5H54NjimOsrG3VOhjTwlAVYa7 X-Received: by 2002:a17:903:244d:b0:154:3772:6b32 with SMTP id l13-20020a170903244d00b0015437726b32mr23065617pls.70.1649079782425; Mon, 04 Apr 2022 06:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649079782; cv=none; d=google.com; s=arc-20160816; b=Cx5hR5ry3o+4/s02AcGFCZiR3YNsS91RLiruoFnQFuZ80hFxDp28zUOwO0wNOaFd6L eEs/OVjmgcWjUgPJE0bv0bkygAGyeHFqoA02yexyDNnEOzVG+Sne2Og6Fa8oC/TiI4gk qYQq+/ElbcNPUGeXNUgUP8zIQydRIRszAa1Na3OhCAcVmhYnX5l3K0kqMyAKpelWBqRs NYbmgRylaz/2U+TAh+1Cm7yGmurQ20KkMSLiJDdyKHNlyaRUBsHm5RO9pSygyHOXW2Wu aQjTb+7j2W+nFAsu8TIfZUtJXYq89lj9ddOm0V9GWi6i6oi8IzI2dIFbr9olKVl4zzo7 ejnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0ZdF5R0d3oW/LVB5Vv8YlTdOSiAeL4Y48/YACShoyEE=; b=TWQ3cRVXFnhK+zmiaHPUktXt6TpxfaKp8xK4Q2I3dGaTq9voH5G4JuRZHpG+cd2EdN N9Z4rYZeVKxGA7qrMRqO0Y5aOBnD4GJhyx+dJQ2rLF3clVO3gTYuFF7nRdO2eYXvyR2s AaEW8DznD3GBa6g5vOP/2r5EbzJ/W2e4yILFSk5v7uWnTWZ/VsAvwpSHLYlHEAmMk2qa pmjQtAB9o98qB6ch63ecR05tY+4A1S0kWJApsJJybVayT2JYC7uh8KrpVGAj8NJJq9eu xW4Yifa6Ho+tAI3ntYt7/eeg6+rSmQttX0PXZ8pPcV44GBH9v143mTu4UY7Rq34VeGTs Ndmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="n84i/7ir"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p24-20020a1709028a9800b001568cd44d9esi5253573plo.175.2022.04.04.06.42.46; Mon, 04 Apr 2022 06:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="n84i/7ir"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356183AbiDCJVv (ORCPT + 99 others); Sun, 3 Apr 2022 05:21:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234343AbiDCJVu (ORCPT ); Sun, 3 Apr 2022 05:21:50 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 030CF2C678; Sun, 3 Apr 2022 02:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648977597; x=1680513597; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UDCT08fSuAljQ3KsmV7M1mW+faCqhwtEgpoRXMbZEmE=; b=n84i/7irvDou4gyAPeEgJk4rAx/1dM9XsW4b3tDiEuR1wFUkBgBgoHgO GNvxtdx0kbQBgHpt1so7rPQdmAac4xXgfnfCEoVVCpEEy9gZUi/T0qFS7 8BASXmWxKYf1g+U0Xln9y8R4VKXBmc3w0czH3Ad9uWfodi0frH9y0tstF 9nyLSulTAbLmXq8/DG9WjQUMWPiQ3BL7RU150OeLc/h2LdhJnaNqNJyuj 9efOCeV97z9XMXKndO/DTBfePvT36aDe0CKH5LSktEs58wXfs1dkvvMZb fv9pWs+B6Nc3+Qy7glF6yp7H9tzyhXSF2l4zjHevIFkH65fz4+fpdU/tQ w==; X-IronPort-AV: E=McAfee;i="6200,9189,10305"; a="259200727" X-IronPort-AV: E=Sophos;i="5.90,231,1643702400"; d="scan'208";a="259200727" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2022 02:19:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,231,1643702400"; d="scan'208";a="568846449" Received: from npg-dpdk-haiyue-2.sh.intel.com ([10.67.111.4]) by orsmga008.jf.intel.com with ESMTP; 03 Apr 2022 02:19:52 -0700 From: Haiyue Wang To: bpf@vger.kernel.org Cc: Haiyue Wang , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , netdev@vger.kernel.org (open list:BPF (Safe dynamic programs and tools)), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v1] bpf: correct the comment for BTF kind bitfield Date: Sun, 3 Apr 2022 16:44:33 +0800 Message-Id: <20220403084433.200701-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit 8fd886911a6a ("bpf: Add BTF_KIND_FLOAT to uapi") has extended the BTF kind bitfield from 4 to 5 bits, correct the comment. Signed-off-by: Haiyue Wang --- include/uapi/linux/btf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/btf.h b/include/uapi/linux/btf.h index b0d8fea1951d..a9162a6c0284 100644 --- a/include/uapi/linux/btf.h +++ b/include/uapi/linux/btf.h @@ -33,8 +33,8 @@ struct btf_type { /* "info" bits arrangement * bits 0-15: vlen (e.g. # of struct's members) * bits 16-23: unused - * bits 24-27: kind (e.g. int, ptr, array...etc) - * bits 28-30: unused + * bits 24-28: kind (e.g. int, ptr, array...etc) + * bits 29-30: unused * bit 31: kind_flag, currently used by * struct, union and fwd */ -- 2.35.1