commit | ff9815957768b6e76d6895a0597d1ede05b4378b | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Mon Oct 23 21:27:30 2017 +0200 |
committer | Lucas Stach <l.stach@pengutronix.de> | Fri Dec 01 17:37:31 2017 +0100 |
tree | 7cd5a3575cb3cbfbe144b940c9c6993613a53b3b | |
parent | b6047ebaf7b3fb63c3ad49ec9c381a0e0b9fb82a [diff] |
drm/etnaviv: Improve unlocking of a mutex in etnaviv_iommu_map_gem() Add a jump target so that a call of the function "mutex_unlock" is stored only once at the end of this function implementation. Replace three calls by goto statements. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>