mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-01 08:20:44 -05:00
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]> Acked-by: Jason Wang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
2115b5617a
commit
bc5a5b0233
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue