Commit ce756da
scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
Add a missing resource clean up in .remove.
Fixes: e22bae3 ("scsi: mpi3mr: Add expander devices to STL")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230302234336.25456-7-thenzl@redhat.com
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent c798304 commit ce756da
3 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1393 | 1393 | | |
1394 | 1394 | | |
1395 | 1395 | | |
| 1396 | + | |
| 1397 | + | |
1396 | 1398 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5079 | 5079 | | |
5080 | 5080 | | |
5081 | 5081 | | |
| 5082 | + | |
5082 | 5083 | | |
5083 | 5084 | | |
5084 | 5085 | | |
| |||
5119 | 5120 | | |
5120 | 5121 | | |
5121 | 5122 | | |
| 5123 | + | |
| 5124 | + | |
| 5125 | + | |
| 5126 | + | |
| 5127 | + | |
| 5128 | + | |
5122 | 5129 | | |
5123 | 5130 | | |
5124 | 5131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
2164 | 2161 | | |
2165 | 2162 | | |
2166 | 2163 | | |
2167 | | - | |
| 2164 | + | |
2168 | 2165 | | |
2169 | 2166 | | |
2170 | 2167 | | |
| |||
0 commit comments