scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id()
stable inclusion form stable-v5.10.82 commit b1cf0d2fc4e4bb52adca636c30030ab94f1a3deb bugzilla: 185877 https://gitee.com/openeuler/kernel/issues/I4QU6V Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b1cf0d2fc4e4bb52adca636c30030ab94f1a3deb -------------------------------- commit 39200687 upstream. The SCM changes set the flags in mcp->out_mb instead of mcp->in_mb so the data was not actually being read into the mcp->mb[] array from the adapter. Link: https://lore.kernel.org/r/20211108183012.13895-1-emilne@redhat.com Fixes: 9f2475fe ("scsi: qla2xxx: SAN congestion management implementation") Cc: stable@vger.kernel.org Reviewed-by:Himanshu Madhani <himanshu.madhani@oracle.com> Reviewed-by:
Arun Easi <aeasi@marvell.com> Signed-off-by:
Ewan D. Milne <emilne@redhat.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment