aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2014-09-26 15:05:22 +0100
committerDaniel Vetter <[email protected]>2014-09-29 15:31:01 +0200
commitc479f4383ea8940dd6f88da61798ad31feb33e51 (patch)
tree0904e286cbbf9d300385f4714584ab3d8bb4e180 /net/lapb/lapb_subr.c
parente9681366ea9e76ab8f75e84351f2f3ca63ee542c (diff)
drm/i915: Do not leak pages when freeing userptr objects
sg_alloc_table_from_pages() can build us a table with coalesced ranges which means we need to iterate over pages and not sg table entries when releasing page references. Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: Chris Wilson <[email protected]> Cc: "Barbalho, Rafael" <[email protected]> Tested-by: Rafael Barbalho <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Cc: [email protected] [danvet: Remove unused local variable sg.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions