summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorChandrakanth patil <chandrakanth.patil@broadcom.com>2022-03-24 02:47:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 09:23:24 +0200
commite8cf1e4d953d7022704f57aca4e5ccce6cee14ea (patch)
tree03ce336ca4ee20b20d5dee3798405ea4c3e8c22b /scripts/gcc-plugins
parent5b7ce74b6bc8c7e6ee3cb8b22b8c5e3e27943339 (diff)
scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
[ Upstream commit 56495f295d8e021f77d065b890fc0100e3f9f6d8 ] The megaraid_sas driver supports single LUN for RAID devices. That is LUN 0. All other LUNs are unsupported. When a device scan on a logical target with invalid LUN number is invoked through sysfs, that target ends up getting removed. Add LUN ID validation in the slave destroy function to avoid the target deletion. Link: https://lore.kernel.org/r/20220324094711.48833-1-chandrakanth.patil@broadcom.com Signed-off-by: Chandrakanth patil <chandrakanth.patil@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions