On Fri, Jun 20, 2025 at 05:30:58PM +0800, Yongbang Shi wrote: > From: Baihan Li <[email protected]> > > When hibmc loaded failed, the driver use hibmc_unload to free the > resource, but the mutexes in mode.config are not init, which will > access an NULL pointer. Just change goto statement to return, because > hibnc_hw_init() doesn't need to free anything. > > Fixes: b3df5e65cc03 ("drm/hibmc: Drop drm_vblank_cleanup") > Signed-off-by: Baihan Li <[email protected]> > Signed-off-by: Yongbang Shi <[email protected]> > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
