Skip to content

Commit f081bbb

Browse files
andy-shevliuw
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent 1d3c9c0 commit f081bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/linux/hyperv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ enum hv_fcopy_op {
119119

120120
struct hv_fcopy_hdr {
121121
__u32 operation;
122-
uuid_le service_id0; /* currently unused */
123-
uuid_le service_id1; /* currently unused */
122+
__u8 service_id0[16]; /* currently unused */
123+
__u8 service_id1[16]; /* currently unused */
124124
} __attribute__((packed));
125125

126126
#define OVER_WRITE 0x1

0 commit comments

Comments
 (0)