]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gpu/drm, x86, PAT: Handle io_mapping_create_wc() errors in a clean way
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Wed, 25 Feb 2009 01:35:11 +0000 (17:35 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 12:09:50 +0000 (13:09 +0100)
commit6644107d57a8fa82b47e4c55da4d9d91a612f29c
treed9958e77fbb2ef2e11b2e17259cb6a69406eb2e7
parentddf9499b3d1e655f212f22b0a703506fcac90b25
gpu/drm, x86, PAT: Handle io_mapping_create_wc() errors in a clean way

io_mapping_create_wc can return NULL on error and io_mapping_free() should be
called on one of the error-cleanup path.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Eric Anholt <eric@anholt.net>
Cc: Keith Packard <keithp@keithp.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/gpu/drm/i915/i915_dma.c