Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp501863lqh; Tue, 7 May 2024 06:05:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmpLgQPIzzaYRMTGKD+5e9kEYWv7I0bPvEP5YMuk4L0YsCfXML2XWWKteORI8ET0wVrQYJnRyFUSMlg/JTbk4mrptqBb0F0MRQVBYUsQ== X-Google-Smtp-Source: AGHT+IHxEet7HTAgc2TZ09tR4vy1YKyciDLwN4YHBb2mFQmpyDe12B64ZQ7K/+bfVbXUMsN4T6E1 X-Received: by 2002:a05:6a00:1799:b0:6f3:ed26:e4f5 with SMTP id s25-20020a056a00179900b006f3ed26e4f5mr15826497pfg.7.1715087153923; Tue, 07 May 2024 06:05:53 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c26-20020aa781da000000b006ea871c00e5si10127467pfn.83.2024.05.07.06.05.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 06:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HBSC0Cdb; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-171334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6B111284D96 for ; Tue, 7 May 2024 13:00:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1792415ECC1; Tue, 7 May 2024 12:58:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HBSC0Cdb" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 2513015E7F9; Tue, 7 May 2024 12:58:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.19 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715086723; cv=fail; b=iTLn1r6pDr1Hp+wyLonv9YvQeI8UX4CnNUw6+6KpHrgEQ2K4xXFdxK3uHoBAUpayITz4+qP2aiO/qQUz8nMovSnWF6U69Kr+bC/1mymEa/3q7kHqL9JYXgdoOYyK2WbQKDmrVDYnsfSEPoXB2kxHJJK8FtKnIk4ZDRC52KDWqpE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715086723; c=relaxed/simple; bh=SZFZgeSjhqcm6JCPVeAOSe/UDnbgzFd8CyuRcW9ObNE=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=OK+TxRlalFCtpgzrwS1IcpvGszdcFu35J2nUKeTnwTm49BYKYXP2ufPg0czxwvxSUWqo/KuIwL2QoiI7YH46KCx0ykX5pETDJs3xHBjbzdkcrLIIp5tE/RRLH2YfV/Bd44F4LjUEkM076epgWQefZntPlQFVt7pOLuvNmKNMRE4= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=HBSC0Cdb; arc=fail smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715086722; x=1746622722; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=SZFZgeSjhqcm6JCPVeAOSe/UDnbgzFd8CyuRcW9ObNE=; b=HBSC0CdbnR7/RtstpoEdOabpgzSk3QQnz8+S3aVzyY87tjzdpQM61XAP visIfjcCIYinEPmLFwqB+ivNMVOukEq1ImbNynsDO81ZajXqKWwP+6nL2 GBF2v+x8P+xiJ6l1kHwySwa1L6R6JOmfkFJpm6OsVpTChtxcz3OSzpzM5 g6FTCGrPaV1XMAT1gudETvRyJzEdCX3A+xLzhH/RxpPqWdyv/SA5/zMGM srHZ5rv2iTJxr4TqxjMjPmxpMMnoDQ1AQOIa47UIOew0UcHMDuEVzghwB YltFB+hyJAocS9mZnoOfTUYPp3dhy1ijD9mJR0Ph3Pkfzf7nGOS9i3wWg g==; X-CSE-ConnectionGUID: chzVJO0MSpOh60ySXOxqmg== X-CSE-MsgGUID: 77ivA7jVQ/KO4mi/4blNGQ== X-IronPort-AV: E=McAfee;i="6600,9927,11065"; a="10732935" X-IronPort-AV: E=Sophos;i="6.08,261,1712646000"; d="scan'208";a="10732935" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2024 05:58:42 -0700 X-CSE-ConnectionGUID: W3Zb7DUvRpyf5iLTqBIZYg== X-CSE-MsgGUID: t+ctREcdRy+elZbcUXLRDA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,261,1712646000"; d="scan'208";a="33026811" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 07 May 2024 05:58:41 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 7 May 2024 05:58:40 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 7 May 2024 05:58:40 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 7 May 2024 05:58:40 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 7 May 2024 05:58:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P9daQVf7TpgXDshat7Jn4KZBhnwQy8gLLz5zzNKEVeN9NDnzvZaUrg4IhyK39OWPCaIfJ87bIBXEuVMykhWa1uvyULKroSFWopBtQl8jUGQrHzTJG2BRYNPGNYNRYjVzGLOeLwnl8G/f/gUKfa7nFyF01t4kh3lbN5UI9OWR4zJaBuPcEvn1QWclWrikQwGRjjrNwz5frEAA5OWHXv0D0EZj9YM60ySro9UHPuKQoNAhRQNOnDDm++nLirajisljCeg174Oqtve6qhdJyWi72FW8AlHZRHtvmzqK9FbDIM0XAqQ5g7tQ7bMvOQJzgURMPkzzwa+fRT5VfPX4pgrptg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zg8RWlwxPuZFQVYaBeQnH+3+JG7GFKTxpmgu2+6ZtAY=; b=RXHaDzLpeZnqNahwfUtCQGYDH0dyn+FkTwdsRuNTx2tvoRkh8hEr1EG0CW9PTnktrU3FB6nblG6mpdvHyatNQONmpgixel4fUvVbJk5Rr5AUkDJm3tcI/v96P4tg4DrZNjYjKswahtgtBI9deb6juujQTn+D/OVkxe7XKZ9gMbPqCv5i/8Qd1mMFNr1tVahkrn/tbiTixLBCAHixqCBTspljo2ZQjd9g6/KPtZsLgq/zCFhuvUvVgyiwYkxqvcMFyIWDp4ReB2Xkalp2nNgCQhyOACf/ycutUP62rfBaXrBpXsWCisaFhPF7e4NS88kuXXUC/6o6r4m4D2BrTj/EVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB8718.namprd11.prod.outlook.com (2603:10b6:8:1b9::20) by CY8PR11MB7747.namprd11.prod.outlook.com (2603:10b6:930:91::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Tue, 7 May 2024 12:58:37 +0000 Received: from DS0PR11MB8718.namprd11.prod.outlook.com ([fe80::4b3b:9dbe:f68c:d808]) by DS0PR11MB8718.namprd11.prod.outlook.com ([fe80::4b3b:9dbe:f68c:d808%4]) with mapi id 15.20.7544.041; Tue, 7 May 2024 12:58:37 +0000 Message-ID: Date: Tue, 7 May 2024 14:58:15 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] uapi: stddef.h: Provide UAPI macros for __counted_by_{le, be} To: Erick Archer CC: Kees Cook , Alexey Dobriyan , Miguel Ojeda , Nathan Chancellor , Dmitry Antipov , "Gustavo A. R. Silva" , Justin Stitt , , References: From: Alexander Lobakin Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: WA2P291CA0029.POLP291.PROD.OUTLOOK.COM (2603:10a6:1d0:1f::29) To DS0PR11MB8718.namprd11.prod.outlook.com (2603:10b6:8:1b9::20) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB8718:EE_|CY8PR11MB7747:EE_ X-MS-Office365-Filtering-Correlation-Id: 99c43a6e-9bb8-472d-d6e9-08dc6e95691b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|7416005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?T1VYbTJlbFNtYlJoZG9GbW5TVEpCWXlBbU1zTHJBYWVDdXlZbnNLczFwb0VQ?= =?utf-8?B?aFE0U0tjT0NOeGRwbzFZb2pJeFVhdFAvSmFFZ3JWWTJDMWIzTFNuTWNwMUxr?= =?utf-8?B?Y3dNUGtMWVJpV2NIV2MyalI1WlFjVm9nL1Z4VThGVGdhTVdjVEpwKzBCYWIr?= =?utf-8?B?V0FOM1NSTktEODNtcFJvSzJGRU9oNy9SaldNUG1YZlBxL015Z1dtbHJDeXpF?= =?utf-8?B?UnF5eGZqR3VmYTgrYzZMWW9HR3Nob1YwSHI2enc4Sm5qcnBEK3lqTUhXTHFB?= =?utf-8?B?a2NvMzVKb1lMemVlOHhrZWE1VVJnMTFzWjVINjFrcnZvOFB6QU9WbGllOVV4?= =?utf-8?B?aDF1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eUhQT1JvaFd1?= =?utf-8?B?T0hyYUk5QWF0RCtUN0pzdlFTbFZ5WWF4SVp1Ykh5dHZBSkV1RkdhMVE0OW1L?= =?utf-8?B?UTdzV1k4KzBNd1NnbldqNU84RmhXK0V2ZmxGYUNsNFU0VXJPTmtkUVFlejVB?= =?utf-8?B?MnNwaUJMb1E1RkNCd282Kyt0eXorL0h0ZDB5eXJXM3BBekE2elV2REZ3c3ZP?= =?utf-8?B?Yjdsa2tMUVFlT1RENTUvR25pUk4wbU9NTlc2VTYweGdRRU1xZlB3eE9iMEZa?= =?utf-8?B?V2k2bmVqZk9lbEdXOGRjak5tWFBhdU1BZXczS1ZFNTlIcFVVNWlIdGxSSnU1?= =?utf-8?B?R0xCUDM2M0JTZmN4SkxJMnJYQmNrc09LYmxuSTExQUY5RVNYODdWTzRFVEtM?= =?utf-8?B?RFpXTlRES0lvaTVjR3EyZFZTSmhyRTJTaHZYVHdBMFNpdVJpbkxmdlhFOEVr?= =?utf-8?B?NEszTVFoMytZU0RibEVZQVhCWVJRS1RMTHZ5MUc3Rmw4UkMyZ3RBb2lRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB8718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K0s2VUlpdTBOY2xJaDRDZVZ4UkFESXFYcWNicnBQcDRvcjd4QkRYa2JNYmNp?= =?utf-8?B?bEF1ck0zNGdPR2ROeGljK1AvTklyeE5WVTVCZU9GelErbG1rNklCcElBU0NJ?= =?utf-8?B?bmlKNWpPQVFwUzJFV003V2lUd3g3RkgyVm5UUTFFeDlhMm1kYWRUZVY1cDhz?= =?utf-8?B?RkdKODJhVVpQSUoxOUhJSnpIN0JqR3JER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WtVWllRcEZu?= =?utf-8?B?WG1DcjdOWlhuSk9kVzN6QTQ1U1k4Wm1veEk0Vmt4RlZHVjFuYjNibDFrc2dh?= =?utf-8?B?bkV4bTFSeFl5ditKcGdWUURXL25BM0dYY0FMdXh0MFNUaG95NHFSdW5OSmFP?= =?utf-8?B?YkRXdzE3bS9FYXlPYzJnWnhrYzVzVHkxR0NQSFBwdHROWm5yV3FSN3p1Y1Fh?= =?utf-8?B?VWc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 99c43a6e-9bb8-472d-d6e9-08dc6e95691b X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB8718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2024 12:58:37.5413 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cRu5m9mHFODa4p46SxJ3S7MY5stMsbIyaMccW9gTm5Z8ZP5FuROdrQxSZXjUxDM0wyhTaTdyQlcWgN/LgWJzvJ3WE5ZG+sd85+nKg1fT+Gs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7747 X-OriginatorOrg: intel.com From: Erick Archer Date: Mon, 6 May 2024 19:42:08 +0200 > Provide UAPI macros for UAPI structs that will gain annotations for > __counted_by_{le, be} attributes. Pls add me to Cc next time. Why is this change needed? __counted_by_{le, be}() aren't used anywhere in the uAPI headers. > > Signed-off-by: Erick Archer > --- > include/uapi/linux/stddef.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/include/uapi/linux/stddef.h b/include/uapi/linux/stddef.h > index 2ec6f35cda32..58154117d9b0 100644 > --- a/include/uapi/linux/stddef.h > +++ b/include/uapi/linux/stddef.h > @@ -55,4 +55,12 @@ > #define __counted_by(m) > #endif > > +#ifndef __counted_by_le > +#define __counted_by_le(m) > +#endif > + > +#ifndef __counted_by_be > +#define __counted_by_be(m) > +#endif > + > #endif /* _UAPI_LINUX_STDDEF_H */ Thanks, Olek