[PATCH 0/6] alloc_apertures() handling fixes

Tommi Rantala tt.rantala at gmail.com
Fri Nov 9 01:19:34 PST 2012


Greetings,

The following patches fix a few memory leaks and other problems related to the
alloc_apertures() call.

Tommi Rantala (6):
  drm/cirrus: check alloc_apertures() success in
    cirrus_kick_out_firmware_fb()
  drm/mgag200: check alloc_apertures() success in mga_vram_init()
  drm/mgag200: free memory allocated with alloc_apertures()
  drm/mgag200: remove unneeded aper->count assignment after
    alloc_apertures()
  drm/radeon: check alloc_apertures() success in
    radeon_kick_out_firmware_fb()
  drm/nouveau: free memory allocated with alloc_apertures()

 drivers/gpu/drm/cirrus/cirrus_drv.c    |   13 +++++++++++--
 drivers/gpu/drm/mgag200/mgag200_main.c |    4 +++-
 drivers/gpu/drm/nouveau/nouveau_drm.c  |    1 +
 drivers/gpu/drm/radeon/radeon_drv.c    |   13 +++++++++++--
 4 files changed, 26 insertions(+), 5 deletions(-)

-- 
1.7.9.5



More information about the dri-devel mailing list