
hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA --------------------------------------------- Add kabi_reserve in drm_atomic.h Signed-off-by: Lin Yujun <linyujun809@huawei.com> --- include/drm/drm_atomic.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index 9a022caacf93..2a1b79a299fb 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -30,6 +30,7 @@ #include <drm/drm_crtc.h> #include <drm/drm_util.h> +#include <linux/kabi.h> /** * struct drm_crtc_commit - track modeset commits on a CRTC @@ -239,6 +240,9 @@ struct drm_private_state_funcs { */ void (*atomic_print_state)(struct drm_printer *p, const struct drm_private_state *state); + + KABI_RESERVE(1) + KABI_RESERVE(2) }; /** @@ -338,6 +342,8 @@ struct drm_private_state { * @obj: backpointer to the private object */ struct drm_private_obj *obj; + KABI_RESERVE(1) + KABI_RESERVE(2) }; struct __drm_private_objs_state { -- 2.34.1