Re: [LKP] [bochs] df2052cc92: WARNING:at_drivers/gpu/drm/drm_mode_config.c:#drm_mode_config_cleanup
From: Linus Torvalds
Date: Fri Dec 21 2018 - 14:26:03 EST
On Fri, Dec 21, 2018 at 12:32 AM kernel test robot
> FYI, we noticed commit df2052cc9221 ("bochs: convert to
> drm_fb_helper_fbdev_setup/teardown") caused
> [ 487.591733] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_mode_config.c:478 drm_mode_config_cleanup+0x270/0x290
Ok, this is apparently just a leak for what appears to be a not
particularly interesting error case, but the warning is new to 4.20
(*) so it would be nice to have somebody look at it.
That commit is supposed to fix a leak, but there's apparently
something still there.
Daniel, Peter, Gerd?
(*) the *problem* is probably not new, it's just now exposed by the
switch to drm_mode_config_cleanup().