commit | f3b8c0caca02001565cb14b845bf90f59dea8213 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Sat Sep 19 00:32:24 2015 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Thu Sep 24 00:22:00 2015 -0700 |
tree | 47b01f4020935139db1b586814f23abaedeb437a | |
parent | 49558b471369e790650df8706b5608fee27af42c [diff] |
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 <cengelma@gmx.at> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>