diff options
author | Guixin Liu <[email protected]> | 2022-09-14 16:47:59 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-10-01 05:21:30 -0400 |
commit | 9b78d8fadeee078ca947a3b44157f42035fdf8b1 (patch) | |
tree | 944c70af40677a4348ea835988ff51fca77cb8e2 /lib/mpi/mpi-sub-ui.c | |
parent | 6290e23f3bd8cee52fb8fd98980bb1eb31c8284d (diff) |
scsi: megaraid_sas: Correct value passed to scsi_device_lookup()
The "id" parameter currently passed to scsi_device_lookup() when removing a
device is incorrect. It should be "ld_target_id %
MEGASAS_MAX_DEV_PER_CHANNEL".
Link: https://lore.kernel.org/r/[email protected]
Fixes: ae6874ba4b43 ("scsi: megaraid_sas: Early detection of VD deletion through RaidMap update")
Acked-by: Sumit Saxena <[email protected]>
Signed-off-by: Guixin Liu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions