mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: GKI: fs.h: add Android ABI padding to struct file
Try to mitigate potential future driver core api changes by adding padding to struct file; Bug: 151154716 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Iba08ecfbd9cf365fe867cb57dbadf2eea00eaf0c
This commit is contained in:
parent
3b300ff4c5
commit
b7d30a3293
1 changed files with 1 additions and 0 deletions
|
|
@ -992,6 +992,7 @@ struct file {
|
|||
struct address_space *f_mapping;
|
||||
errseq_t f_wb_err;
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_VENDOR_DATA(1);
|
||||
} __randomize_layout
|
||||
__attribute__((aligned(4))); /* lest something weird decides that 2 is OK */
|
||||
|
|
|
|||
Loading…
Reference in a new issue