Commit c9cc8ae
rqspinlock: Handle return of raw_res_spin_lock{_irqsave} in locktorture
Return errors from raw_res_spin_lock{_irqsave}() to writelock(). This is
simply to silence the unused result warning. lock_torture_writer()
currently does not handle errors returned from writelock(). This aligns
with the existing torture test for ww_mutex.
Signed-off-by: Amery Hung <ameryhung@gmail.com>1 parent 535ce04 commit c9cc8ae
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
374 | 373 | | |
375 | 374 | | |
376 | 375 | | |
| |||
392 | 391 | | |
393 | 392 | | |
394 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
395 | 399 | | |
396 | | - | |
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
| |||
0 commit comments