From: Scott Benesh Date: Fri, 6 May 2016 19:02:34 +0000 (-0700) Subject: hpsa: add in new offline mode X-Git-Tag: v4.1.12-92~161^2~47 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6ae886797d0dd1b951c359293ce439a9948cb73b;p=users%2Fjedix%2Flinux-maple.git hpsa: add in new offline mode prevent adding volumes that are not available. Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Justin Lindley Reviewed-by: Tomas Henzl Signed-off-by: Don Brace Signed-off-by: James Bottomley Orabug: 23064595 Signed-off-by: Manjunath Govindashetty --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index be9036ac131c0..0f96bf1082063 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1491,15 +1491,15 @@ static void hpsa_show_volume_status(struct ctlr_info *h, break; case HPSA_LV_UNDERGOING_RPI: dev_info(&h->pdev->dev, - "C%d:B%d:T%d:L%d Volume is undergoing rapid parity initialization process.\n", + "C%d:B%d:T%d:L%d Volume is undergoing rapid parity init.\n", h->scsi_host->host_no, sd->bus, sd->target, sd->lun); break; case HPSA_LV_PENDING_RPI: dev_info(&h->pdev->dev, - "C%d:B%d:T%d:L%d Volume is queued for rapid parity initialization process.\n", - h->scsi_host->host_no, - sd->bus, sd->target, sd->lun); + "C%d:B%d:T%d:L%d Volume is queued for rapid parity initialization process.\n", + h->scsi_host->host_no, + sd->bus, sd->target, sd->lun); break; case HPSA_LV_ENCRYPTED_NO_KEY: dev_info(&h->pdev->dev,