summaryrefslogtreecommitdiffstats
path: root/drivers/connector/Makefile
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-07-24 19:29:37 +0200
committerEric Anholt <eric@anholt.net>2010-08-02 04:35:14 +0200
commit831cd4453598b2c8e193f077023910c6b0c39558 (patch)
tree242d8e619cf40f3f760f4a26b16e6344f3ca6cfc /drivers/connector/Makefile
parentMerge remote branch 'origin/master' into drm-intel-next (diff)
downloadlinux-831cd4453598b2c8e193f077023910c6b0c39558.tar.xz
linux-831cd4453598b2c8e193f077023910c6b0c39558.zip
agp/intel: Destroy the scatterlist on allocation failure
A side-effect of being able to use custom page allocations with the sg_table is that it cannot reap the partially constructed scatterlist if fails to allocate a page. So we need to call sg_free_table() ourselves if sg_alloc_table() fails. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc Dave Airlie <airlied@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/connector/Makefile')
0 files changed, 0 insertions, 0 deletions