summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-01-05 00:01:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 15:27:09 +0100
commite22387d2d7767305c3109eda585e84472dc2a8a0 (patch)
tree77beffc2ce4959f414522e75e42dfea56bf532d2 /scripts
parent5b16614297970daad30328246c7b6611699552d0 (diff)
scsi: libsas: Check SMP PHY control function result
[ Upstream commit 01929a65dfa13e18d89264ab1378854a91857e59 ] Currently the SMP PHY control execution result is checked, however the function result for the command is not. As such, we may be missing all potential errors, like SMP FUNCTION FAILED, INVALID REQUEST FRAME LENGTH, etc., meaning the PHY control request has failed. In some scenarios we need to ensure the function result is accepted, so add a check for this. Tested-by: Jian Luo <luojian5@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions