mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
ANDROID: Add padding to kunit_resource struct
The kunit_resource struct will be part of the ABI surface when kunit symbols are exported. This calls for adding padding to any structs which will become part of the KMI. Bug: 361584207 Change-Id: I08bd80412ab62c2d14d2e40c842f4a4202bb2fae Signed-off-by: Sid Nayyar <sidnayyar@google.com>
This commit is contained in:
parent
7c9ee87357
commit
c4b2c04485
|
@ -15,6 +15,7 @@
|
|||
#include <linux/list.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/android_kabi.h>
|
||||
|
||||
struct kunit_resource;
|
||||
|
||||
|
@ -89,6 +90,8 @@ struct kunit_resource {
|
|||
struct kref refcount;
|
||||
struct list_head node;
|
||||
bool should_kfree;
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user