Files
linux/drivers
John Garry fe862a86ce scsi: libsas: Check SMP PHY control function result
[ Upstream commit 01929a65df ]

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>
2019-12-05 15:35:17 +01:00
..
2019-11-28 18:29:05 +01:00
2019-12-05 15:34:08 +01:00
2018-12-21 14:11:37 +01:00
2019-05-14 19:19:34 +02:00
2019-12-05 15:35:06 +01:00
2019-12-05 15:34:54 +01:00
2018-12-21 14:11:36 +01:00
2018-11-13 11:17:02 -08:00
2018-11-27 16:09:41 +01:00
2018-10-03 17:01:42 -07:00
2019-09-16 08:19:34 +02:00
2019-05-31 06:48:15 -07:00