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

Commit 18a56d69 authored by Don Brace's avatar Don Brace Committed by Martin K. Petersen
Browse files

scsi: hpsa: remove printing internal cdb on tag collision



Remove racy printing of internal commands. Completion thread can be
cleaning up the command in parallel.

Reviewed-by: default avatarBader Ali - Saleh <bader.alisaleh@microsemi.com>
Reviewed-by: default avatarScott Teel <scott.teel@microsemi.com>
Reviewed-by: default avatarScott Benesh <scott.benesh@microsemi.com>
Reviewed-by: default avatarKevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: default avatarDon Brace <don.brace@microsemi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent eeebce18
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -6091,8 +6091,6 @@ static struct CommandList *cmd_tagged_alloc(struct ctlr_info *h,
		if (idx != h->last_collision_tag) { /* Print once per tag */
			dev_warn(&h->pdev->dev,
				"%s: tag collision (tag=%d)\n", __func__, idx);
			if (c->scsi_cmd != NULL)
				scsi_print_command(c->scsi_cmd);
			if (scmd)
				scsi_print_command(scmd);
			h->last_collision_tag = idx;