Drivers: hv: util: Properly pack the data for file copy functionality
Subsystems (2)
PATCH 1/1 Drivers: hv: util: Properly pack the data for file copy functionality
Properly pack the data for file copy functionality. Patch based on investigation done by Matej Muzila <[email protected]>
Signed-off-by K. Y. Srinivasan <[email protected]>
Reported-by [email protected]
Cc <[email protected]>
--- include/uapi/linux/hyperv.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/uapi/linux/hyperv.h +1 -1
@@ -137,7 +137,7 @@ struct hv_do_fcopy {__u64 offset;__u32 size;__u8 data[DATA_FRAGMENT ]; -}; +} __attribute__((packed));/* * An implementation of HyperV key value pair (KVP) functionality for Linux.
Signature · 1 line
1.7.4.1
Quoted 15 lines · K. Y. Srinivasan
Properly pack the data for file copy functionality. Patch based on investigation done by Matej Muzila <[email protected]>
Signed-off-by K. Y. Srinivasan <[email protected]>Reported-by [email protected]Cc <[email protected]>--- include/uapi/linux/hyperv.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)include/uapi/linux/hyperv.h +0
-0
include/uapi/linux/hyperv.h struct hv_do_fcopy { · line 143
Quoted 8 lines
include/uapi/linux/hyperv.h +1
-1@@ -137,7 +137,7 @@ struct hv_do_fcopy {__u64 offset;__u32 size;__u8 data[DATA_FRAGMENT ]; -}; +} __attribute__((packed));/* * An implementation of HyperV key value pair (KVP) functionality for Linux.
Acked-by Jason Wang <[email protected]>