From: Christian Engelmayer Date: Fri, 18 Sep 2015 22:32:24 +0000 (+0200) Subject: drm/vmwgfx: Fix uninitialized return in vmw_kms_helper_dirty() X-Git-Tag: omap-for-v4.3/fixes-rc5~94^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3b8c0caca02001565cb14b845bf90f59dea8213;p=pandora-kernel.git drm/vmwgfx: Fix uninitialized return in vmw_kms_helper_dirty() Function vmw_kms_helper_dirty() uses the uninitialized variable ret as return value. Make the result deterministic and directly return as the variable is unused anyway. Detected by Coverity CID 1324255. Signed-off-by: Christian Engelmayer Reviewed-by: Sinclair Yeh Reviewed-by: Thomas Hellstrom --- Reading git-diff-tree failed