summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSui Jingfeng <sui.jingfeng@linux.dev>2024-09-08 15:11:06 +0300
committerLucas Stach <l.stach@pengutronix.de>2024-10-28 18:30:15 +0300
commitdeadf1ef4adce096352489d1ef3721e43fa188bf (patch)
tree8bb46731a721888fa12e57e5d00a3c493403c61a /tools/perf/scripts/python
parentb09ccba779c8dd241c9254a4b5c062c51e6fa80d (diff)
downloadlinux-deadf1ef4adce096352489d1ef3721e43fa188bf.tar.xz
drm/etnaviv: Fix missing mutex_destroy()
Currently, the calling of mutex_destroy() is ignored on error handling code path. It is safe for now, since mutex_destroy() actually does nothing in non-debug builds. But the mutex_destroy() is used to mark the mutex uninitialized on debug builds, and any subsequent use of the mutex is forbidden. It also could lead to problems if mutex_destroy() gets extended, add missing mutex_destroy() to eliminate potential concerns. Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions