[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] common: __u8 is history
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Thu, 9 Feb 2023 11:43:49 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- 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=xw8mCtU+Oy7VuL6oxtGntwYumtAFZyIQqnEOo+ExMsY=; b=cllWuWQ53azBWMfNfU+pK5BcWCSuora2G3PJKm/ejL0aJGD8T5xGhobBIq0o+y/4dg+hFC0G744HEHYDv9BcQCPybUHAlLbwp4nmv5hzRbxahXxZ87aXlrkrkQZMKV2uRYB3gKmBxCnEuCC8bxyI3Q9LlGTvp5yTrFPGUVGCWALdmPXVExdN67Bje8s9s5DxkOTH6dtokV8Lj+h/CrT6o5siK43/9l76oMlC+tvf2zs4UO4nkJx3NtwOwQ6Z+N1MgPwtak1ZfC/NkmzaOGnJjStnQ268+FWlt5A0jpmYdJEm19o6KRr2Q7cT4jiPn1X7ZoQibX/iF7i8oj+22qmFVw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jJR55GaZQIWOrmDagCBS9+tQbyv6h13ridGPWMoIz/nJseQFvbu+jV0Fj1QbMvowkLA8/gpJ3X6EwOHNy9YU8Z2VAwI8tI4w3wmjaZIzhahksjMObOpgoa45NZVQ55wuDggP6ePWZg1Bh/TgGGE4fkBOBIz8fXmaI7NbUPgwylyBVzjqAwbWpyD+bQTIFJdMDNi2VVgr0MmxyWPuejbtPIcEJVP6HW5DYRpPzebErbvSO1scFtS7Qu9qr8dgud0S0efU8Sz2LKnxIWtgk/6zzs/lbeU4w5wYYnvWYWb21kGITq/P8zl2aUTunIc/ryd0fOEVAiaIf40aCkJDZzJ5Tw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Thu, 09 Feb 2023 10:43:55 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
With the last uses gone, move the type to linux-compat.h.
No functional change intended.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
The primary use of __u{16,32,64} is in the byte-order headers. Iirc
there is a series re-working part of that, so I guess before touching
the logic there that other series would better land first.
--- a/xen/include/xen/linux-compat.h
+++ b/xen/include/xen/linux-compat.h
@@ -12,6 +12,7 @@
#include <xen/types.h>
typedef int8_t __s8;
+typedef uint8_t __u8;
typedef int16_t __s16;
typedef int32_t __s32;
typedef int64_t __s64;
--- a/xen/include/xen/types.h
+++ b/xen/include/xen/types.h
@@ -55,7 +55,7 @@ typedef unsigned int __attribute__((__mo
/* Linux inherited types which are being phased out */
typedef int8_t s8;
-typedef uint8_t u8, __u8;
+typedef uint8_t u8;
typedef int16_t s16;
typedef uint16_t u16, __u16;
typedef int32_t s32;
|