summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commsup.c
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>2017-02-16 12:51:11 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-22 18:41:41 -0500
commitf3ef4a74dc3712ef0ce60d652aa87b1ba70cb2a4 (patch)
tree420ca6f4f7942e1ae9f920c7919c6b431d089caa /drivers/scsi/aacraid/commsup.c
parent1c68856e6ea8abd714415e52ef88943c022e24f0 (diff)
downloadop-kernel-dev-f3ef4a74dc3712ef0ce60d652aa87b1ba70cb2a4.zip
op-kernel-dev-f3ef4a74dc3712ef0ce60d652aa87b1ba70cb2a4.tar.gz
scsi: aacraid: Use correct channel number for raw srb
The channel being used for raw srb commands is retrieved from the utility sent fibs and is converted into physical channel id. The driver does not need to to do this since the management utility sends the correct channel id in the first place and in addition the driver sets inaccurate information in the cmd sent to the firmware and gets an invalid response. Fixed by using channel id from srb command. Cc: stable@vger.kernel.org Fixes: 423400e64d377c0 ("scsi: aacraid: Include HBA direct interface") Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Reviewed-by: David Carroll <David.Carroll@microsemi.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud