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

Leaf changes summary: 2989 artifacts changed (4 filtered out)
Changed leaf types summary: 71 leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 2896 Changed (4 filtered out), 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 22 Changed, 0 Added variable

Bug: 163662096
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie26f422c590f9ddbe99f0885f36da3feec64e9a6
This commit is contained in:
Greg Kroah-Hartman 2020-08-12 17:42:04 +02:00
parent b519ac4237
commit be8320cc17
3 changed files with 4100 additions and 4048 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1155,6 +1155,11 @@ struct dev_links_info {
struct list_head defer_hook;
bool need_for_probe;
enum dl_dev_state status;
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
ANDROID_KABI_RESERVE(3);
ANDROID_KABI_RESERVE(4);
};
/**
@ -1372,6 +1377,11 @@ struct device_link {
struct rcu_head rcu_head;
#endif
bool supplier_preactivated; /* Owned by consumer probe. */
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
ANDROID_KABI_RESERVE(3);
ANDROID_KABI_RESERVE(4);
};
static inline struct device *kobj_to_dev(struct kobject *kobj)

View File

@ -10,6 +10,7 @@
#define _LINUX_FWNODE_H_
#include <linux/types.h>
#include <linux/android_kabi.h>
struct fwnode_operations;
struct device;
@ -18,6 +19,11 @@ struct fwnode_handle {
struct fwnode_handle *secondary;
const struct fwnode_operations *ops;
struct device *dev;
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
ANDROID_KABI_RESERVE(3);
ANDROID_KABI_RESERVE(4);
};
/**