Commit 09aa2ec
RDMA: Restore ability to return error for destroy WQ
[ Upstream commit add5353 ]
Make this interface symmetrical to other destroy paths.
Fixes: a49b1dc ("RDMA: Convert destroy_wq to be void")
Link: https://lore.kernel.org/r/20200907120921.476363-9-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 7c2f769 commit 09aa2ec
9 files changed
Lines changed: 27 additions & 18 deletions
File tree
- drivers/infiniband
- core
- hw
- mlx4
- mlx5
- include/rdma
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2387 | 2387 | | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | | - | |
| 2390 | + | |
2391 | 2391 | | |
2392 | 2392 | | |
2393 | 2393 | | |
2394 | | - | |
| 2394 | + | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | 2397 | | |
| 2398 | + | |
2398 | 2399 | | |
2399 | 2400 | | |
2400 | 2401 | | |
2401 | 2402 | | |
2402 | | - | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
2403 | 2407 | | |
2404 | 2408 | | |
2405 | | - | |
2406 | | - | |
| 2409 | + | |
2407 | 2410 | | |
2408 | | - | |
| 2411 | + | |
2409 | 2412 | | |
2410 | 2413 | | |
2411 | 2414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
895 | | - | |
| 895 | + | |
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4327 | 4327 | | |
4328 | 4328 | | |
4329 | 4329 | | |
4330 | | - | |
| 4330 | + | |
4331 | 4331 | | |
4332 | 4332 | | |
4333 | 4333 | | |
| |||
4338 | 4338 | | |
4339 | 4339 | | |
4340 | 4340 | | |
| 4341 | + | |
4341 | 4342 | | |
4342 | 4343 | | |
4343 | 4344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
1241 | | - | |
| 1241 | + | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | 1244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5056 | 5056 | | |
5057 | 5057 | | |
5058 | 5058 | | |
5059 | | - | |
| 5059 | + | |
5060 | 5060 | | |
5061 | 5061 | | |
5062 | 5062 | | |
| 5063 | + | |
5063 | 5064 | | |
5064 | | - | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
5065 | 5068 | | |
5066 | 5069 | | |
| 5070 | + | |
5067 | 5071 | | |
5068 | 5072 | | |
5069 | 5073 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
| 579 | + | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
584 | 585 | | |
585 | 586 | | |
586 | 587 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2496 | 2496 | | |
2497 | 2497 | | |
2498 | 2498 | | |
2499 | | - | |
| 2499 | + | |
2500 | 2500 | | |
2501 | 2501 | | |
2502 | 2502 | | |
| |||
4331 | 4331 | | |
4332 | 4332 | | |
4333 | 4333 | | |
4334 | | - | |
| 4334 | + | |
4335 | 4335 | | |
4336 | 4336 | | |
4337 | 4337 | | |
| |||
0 commit comments