hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in drm_drv.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/drm/drm_drv.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index 9813fa759b75..fe52bff7eba5 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h @@ -34,6 +34,8 @@
#include <drm/drm_device.h>
+#include <linux/kabi.h> + struct drm_file; struct drm_gem_object; struct drm_master; @@ -452,6 +454,9 @@ struct drm_driver { void (*disable_vblank)(struct drm_device *dev, unsigned int pipe); int dev_priv_size; #endif + + KABI_RESERVE(1) + KABI_RESERVE(2) };
void *__devm_drm_dev_alloc(struct device *parent,