APPLIED: [PATCH][Disco] scsi: libsas: Check SMP PHY control function result

Seth Forshee seth.forshee at canonical.com
Tue Apr 2 20:35:52 UTC 2019


On Mon, Apr 01, 2019 at 03:18:04PM -0600, dann frazier wrote:
> From: John Garry <john.garry at huawei.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1822680
> 
> 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 at huawei.com>
> Signed-off-by: John Garry <john.garry at huawei.com>
> Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
> (cherry picked from commit 01929a65dfa13e18d89264ab1378854a91857e59)
> Signed-off-by: dann frazier <dann.frazier at canonical.com>

Applied to disco/master-next, thanks!



More information about the kernel-team mailing list