aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2010-05-26 05:54:21 +0000
committerDavid S. Miller <[email protected]>2010-05-29 00:18:48 -0700
commit5daf47bb4e708fde32c1856a0d049e3c3d03c36c (patch)
tree422ee585ceb87822c7e8ae18208197d25e62e23a /tools/perf/util/scripting-engines/trace-event-perl.c
parente72e9f3814cb8c1076d627c29cec90b005838ac3 (diff)
net/rds: Add missing mutex_unlock
Add a mutex_unlock missing on the error path. In each case, whenever the label out is reached from elsewhere in the function, mutex is not locked. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression E1; @@ * mutex_lock(E1); <+... when != E1 if (...) { ... when != E1 * return ...; } ...+> * mutex_unlock(E1); // </smpl> Signed-off-by: Julia Lawall <[email protected]> Reviewed-by: Zach Brown <[email protected]> Acked-by: Andy Grover <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions