diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-04-29 09:22:36 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-04-29 09:22:36 -0500 |
commit | 68dd5fcadc5b702c7d1426dea990ff0b55e62f42 (patch) | |
tree | 364eb5e0b639e450c9af02fb3575ab0ab333840b /0001-hyper-v-Remove-internal-types-from-UAPI-header.patch | |
parent | 5a34ebde9f6e52bee966789ed3dc196af0724a20 (diff) | |
download | kernel-68dd5fcadc5b702c7d1426dea990ff0b55e62f42.tar.gz kernel-68dd5fcadc5b702c7d1426dea990ff0b55e62f42.tar.xz kernel-68dd5fcadc5b702c7d1426dea990ff0b55e62f42.zip |
* Wed Apr 29 2020 Justin M. Forbes <jforbes@fedoraproject.org> 5.7.0-0.rc3.20200428git51184ae37e05.1
- 51184ae37e05 rebase
Resolves: rhbz#
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to '0001-hyper-v-Remove-internal-types-from-UAPI-header.patch')
-rw-r--r-- | 0001-hyper-v-Remove-internal-types-from-UAPI-header.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/0001-hyper-v-Remove-internal-types-from-UAPI-header.patch b/0001-hyper-v-Remove-internal-types-from-UAPI-header.patch new file mode 100644 index 000000000..6466a3e18 --- /dev/null +++ b/0001-hyper-v-Remove-internal-types-from-UAPI-header.patch @@ -0,0 +1,38 @@ +From f081bbb3fd03f949bcdc5aed95a827d7c65e0f30 Mon Sep 17 00:00:00 2001 +From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> +Date: Wed, 22 Apr 2020 16:18:18 +0300 +Subject: [PATCH] hyper-v: Remove internal types from UAPI header + +The uuid_le mistakenly comes to be an UAPI type. Since it's luckily not used by +Hyper-V APIs, we may replace with POD types, i.e. __u8 array. + +Note, previously shared uuid_be had been removed from UAPI few releases ago. +This is a continuation of that process towards removing uuid_le one. + +Note, there is no ABI change! + +Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> +Link: https://lore.kernel.org/r/20200422131818.23088-1-andriy.shevchenko@linux.intel.com +Signed-off-by: Wei Liu <wei.liu@kernel.org> +--- + include/uapi/linux/hyperv.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/uapi/linux/hyperv.h b/include/uapi/linux/hyperv.h +index 991b2b7ada7a..8f24404ad04f 100644 +--- a/include/uapi/linux/hyperv.h ++++ b/include/uapi/linux/hyperv.h +@@ -119,8 +119,8 @@ enum hv_fcopy_op { + + struct hv_fcopy_hdr { + __u32 operation; +- uuid_le service_id0; /* currently unused */ +- uuid_le service_id1; /* currently unused */ ++ __u8 service_id0[16]; /* currently unused */ ++ __u8 service_id1[16]; /* currently unused */ + } __attribute__((packed)); + + #define OVER_WRITE 0x1 +-- +2.26.2 + |