hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in drm_file.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/drm/drm_file.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h index 010239392adf..18b3a8389e40 100644 --- a/include/drm/drm_file.h +++ b/include/drm/drm_file.h @@ -38,6 +38,8 @@
#include <drm/drm_prime.h>
+#include <linux/kabi.h> + struct dma_fence; struct drm_file; struct drm_device; @@ -83,6 +85,9 @@ struct drm_minor {
struct list_head debugfs_list; struct mutex debugfs_lock; /* Protects debugfs_list. */ + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -374,6 +379,9 @@ struct drm_file { #if IS_ENABLED(CONFIG_DRM_LEGACY) unsigned long lock_count; /* DRI1 legacy lock count */ #endif + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/**