
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBJBW7 CVE: CVE-2024-57876 -------------------------------- Commit a6fa67d26de3 ("drm/dp_mst: Fix resetting msg rx state after topology removal") introduces a new field reset_rx_state in struct drm_dp_mst_topology_mgr which cause KABI breakage. Fix it by using KABI_FILL_HOLE() API when there is only 2bits used in a bool. Fixes: a6fa67d26de3 ("drm/dp_mst: Fix resetting msg rx state after topology removal") Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com> --- include/drm/drm_dp_mst_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_dp_mst_helper.h b/include/drm/drm_dp_mst_helper.h index a28e21f5bc31..b6ea6fe08fb9 100644 --- a/include/drm/drm_dp_mst_helper.h +++ b/include/drm/drm_dp_mst_helper.h @@ -640,7 +640,7 @@ struct drm_dp_mst_topology_mgr { * receiver state must be reset, after the topology manager got * removed. Protected by @lock. */ - bool reset_rx_state : 1; + KABI_FILL_HOLE(bool reset_rx_state : 1) /** * @mst_primary: Pointer to the primary/first branch device. -- 2.34.1