ANDROID: fix up abi breakage in struct dwc3
Commitcf52c320cf("USB: dwc3: fix memory leak with using debugfs_lookup()") added a new field to struct dwc3. Fix this up by using one of the reserved fields in the structure to handle the abi break and update the .xml file to preserve things. type 'struct dwc3' changed member 'union { struct dentry * debug_root; struct { u64 android_kabi_reserved2; }; union { }; }' was added member 'u64 android_kabi_reserved2' was removed Fixes:cf52c320cf("USB: dwc3: fix memory leak with using debugfs_lookup()") Bug: 161946584 Change-Id: I7bf60deb89e4d5c4a9bc4cbcf68912cef21358ce Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1315,12 +1315,11 @@ struct dwc3 {
|
||||
int max_cfg_eps;
|
||||
int last_fifo_depth;
|
||||
int num_ep_resized;
|
||||
struct dentry *debug_root;
|
||||
|
||||
ANDROID_KABI_USE(1, struct{ u8 clear_stall_protocol; u8 padding1;
|
||||
u8 padding2; u8 padding3; u8 padding4; u8 padding5;
|
||||
u8 padding6; u8 padding7; });
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_USE(2, struct dentry *debug_root);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user