aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_encoder.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2018-12-29 02:49:07 +0000
committerDaniel Vetter <[email protected]>2019-01-07 10:26:31 +0000
commitc39191feed4540fed98badeb484833dcf659bb96 (patch)
tree7ecf7ff83106a2a7acc9375bda5ecfc8e829b56c /drivers/gpu/drm/omapdrm/omap_encoder.c
parentdrm: Reorder set_property_atomic to avoid returning with an active ww_ctx (diff)
downloadkernel-c39191feed4540fed98badeb484833dcf659bb96.tar.gz
kernel-c39191feed4540fed98badeb484833dcf659bb96.zip
drm: Fix error handling in drm_legacy_addctx
'ctx->handle' is unsigned, it never less than zero. This patch use int 'tmp_handle' to handle the err condition. Fixes: 62968144e673 ("drm: convert drm context code to use Linux idr") Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_encoder.c')
0 files changed, 0 insertions, 0 deletions