summaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-06 14:41:31 +0100
committerThierry Reding <treding@nvidia.com>2014-11-13 16:18:34 +0100
commit7e0180e3570cc791e95e6b6cd5fbeb0aedc62776 (patch)
treeb98d5c0e8033fdc37f98baa07a24e2d28b5eb459 /include/trace/events
parentcb10c81fdf8c77df4fffc8cb740ddf33427869df (diff)
downloadlinux-7e0180e3570cc791e95e6b6cd5fbeb0aedc62776.tar.gz
linux-7e0180e3570cc791e95e6b6cd5fbeb0aedc62776.tar.bz2
linux-7e0180e3570cc791e95e6b6cd5fbeb0aedc62776.zip
drm/tegra: gem: Check before freeing CMA memory
dma_free_writecombine() must not be called on a buffer that couldn't be allocated. Check for a valid virtual address before attempting to free the memory to avoid a crash. Reported-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions