Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9211a07f authored by Don Brace's avatar Don Brace Committed by Martin K. Petersen
Browse files

scsi: hpsa: reduce warning messages on device removal

parent 2c5fc363
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1865,11 +1865,13 @@ static void hpsa_wait_for_outstanding_commands_for_dev(struct ctlr_info *h,
			break;
		if (++waits > 20)
			break;
		msleep(1000);
	}

	if (waits > 20)
		dev_warn(&h->pdev->dev,
			"%s: removing device with %d outstanding commands!\n",
			__func__, cmds);
		msleep(1000);
	}
}

static void hpsa_remove_device(struct ctlr_info *h,