ANDROID: GKI: add some padding to some driver core structures
It was requested that the following structures get some padding in order to be able to handle future issues/bugs/fixes that might arise: struct dev_links_info struct device_link struct fwnode_handle Bug: 163662096 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ie26f422c590f9ddbe99f0885f36da3feec64e9a6 Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
committed by
Will McVicker
parent
f2cce51e2b
commit
1f0404339b
@@ -901,6 +901,11 @@ struct device_link {
|
|||||||
struct rcu_head rcu_head;
|
struct rcu_head rcu_head;
|
||||||
#endif
|
#endif
|
||||||
bool supplier_preactivated; /* Owned by consumer probe. */
|
bool supplier_preactivated; /* Owned by consumer probe. */
|
||||||
|
|
||||||
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -934,6 +939,11 @@ struct dev_links_info {
|
|||||||
struct list_head defer_sync;
|
struct list_head defer_sync;
|
||||||
bool need_for_probe;
|
bool need_for_probe;
|
||||||
enum dl_dev_state status;
|
enum dl_dev_state status;
|
||||||
|
|
||||||
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
#define _LINUX_FWNODE_H_
|
#define _LINUX_FWNODE_H_
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#include <linux/android_kabi.h>
|
||||||
|
|
||||||
struct fwnode_operations;
|
struct fwnode_operations;
|
||||||
struct device;
|
struct device;
|
||||||
@@ -21,6 +22,11 @@ struct fwnode_handle {
|
|||||||
struct fwnode_handle *secondary;
|
struct fwnode_handle *secondary;
|
||||||
const struct fwnode_operations *ops;
|
const struct fwnode_operations *ops;
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
|
|
||||||
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user