hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in drm_client.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/drm/drm_client.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h index c0a14b40c039..7bbc9d5bcd76 100644 --- a/include/drm/drm_client.h +++ b/include/drm/drm_client.h @@ -10,6 +10,7 @@
#include <drm/drm_connector.h> #include <drm/drm_crtc.h> +#include <linux/kabi.h>
struct drm_client_dev; struct drm_device; @@ -114,6 +115,9 @@ struct drm_client_dev { * before. It is usually not tried again. */ bool hotplug_failed; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
int drm_client_init(struct drm_device *dev, struct drm_client_dev *client, @@ -153,6 +157,9 @@ struct drm_client_buffer { * @fb: DRM framebuffer */ struct drm_framebuffer *fb; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
struct drm_client_buffer *