Commit bd5f8b9
committed
staging: vc04_services: vc-sm-cma: Take spinlock for idr lookup
Whilst the particular buffer object won't get destroyed whilst
being looked up, the idr structure itself could be modified by
another thread.
Take the spinlock for the lookup.
Signed-off-by: Dave Stevenson <[email protected]>1 parent 973fe60 commit bd5f8b9
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| |||
0 commit comments