diff options
author | Julia Lawall <julia@diku.dk> | 2010-05-27 12:31:51 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2010-05-27 12:40:11 +0200 |
commit | 84fe6c19e4a598e8071e3bd1b2c923454eae1268 (patch) | |
tree | 97acb87b00cc194665caf8cc5920cd7e7858bac1 /arch/arm/mach-pxa/zeus.c | |
parent | Merge branch 'iommu/largepages' into amd-iommu/2.6.35 (diff) | |
download | linux-84fe6c19e4a598e8071e3bd1b2c923454eae1268.tar.xz linux-84fe6c19e4a598e8071e3bd1b2c923454eae1268.zip |
arch/x86/kernel: Add missing spin_unlock
Add a spin_unlock missing on the error path. The locks and unlocks are
balanced in other functions, so it seems that the same should be the case
here.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E1;
@@
* spin_lock(E1,...);
<+... when != E1
if (...) {
... when != E1
* return ...;
}
...+>
* spin_unlock(E1,...);
// </smpl>
Cc: stable@kernel.org
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/arm/mach-pxa/zeus.c')
0 files changed, 0 insertions, 0 deletions