On Fri, Nov 18, 2016 at 05:19:58PM +0000, Matthew Auld wrote: > On 14 November 2016 at 11:29, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > > On the DMA mapping error path, sg may be NULL (it has already been > > marked as the last scatterlist entry), and we should avoid dereferencing > > it again. > > > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > Fixes: e227330223a7 ("drm/i915: avoid leaking DMA mappings") > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Cc: Imre Deak <imre.deak@xxxxxxxxx> > > Cc: stable@xxxxxxxxxxxxxxx > Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx> Thanks for the review, pushed, -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx