summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2018-03-29 13:40:37 +0300
committerSean Paul <seanpaul@chromium.org>2018-05-07 10:19:11 -0400
commit6a0f0c55619f0b82a677cab72e77c3444a5eee58 (patch)
tree959edfff134abde59758bb4750b222e363b52720 /drivers/dma
parent77eeac24b10fc84d3ffd5b11a897dff88dde244d (diff)
downloadlinux-6a0f0c55619f0b82a677cab72e77c3444a5eee58.tar.bz2
drm/omap: fix possible NULL ref issue in tiler_reserve_2d
tiler_reserve_2d allocates memory but does not check if it got the memory. Add the check and return ENOMEM on failure. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180329104038.29154-2-tomi.valkeinen@ti.com Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions