OSDN Git Service

scsi: myrs: Fix the processor absent message in processor_show()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 19 Oct 2018 09:18:19 +0000 (12:18 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 19 Oct 2018 22:31:37 +0000 (18:31 -0400)
commita0db8a7516d9eb9ebb7400df21fc061fe472b8ad
tree754621f56ceae669058589eb2c25f46a4f223745
parent9a231caa77c3afdf775bcc9b7c403244deb3d539
scsi: myrs: Fix the processor absent message in processor_show()

If both processors are absent then it's supposed to print that, but
instead we print that just the second processor is absent.

Fixes: 77266186397c ("scsi: myrs: Add Mylex RAID controller (SCSI interface)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/myrs.c