Commit ed46bf0
nmmgr: Check return code of mutex_lock_irqsafe()
The return value of mutex_lock_irqsafe() should always be checked. If
the locking failed, we will get an imbalance when we get to the
mutex_unlock().
Signed-off-by: Paul Cercueil <paul@crapouillou.net>1 parent eca2790 commit ed46bf0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments