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

Commit 397ea9cb authored by Don Brace's avatar Don Brace Committed by James Bottomley
Browse files

hpsa: correct compiler warnings introduced by hpsa-add-local-workqueue patch



Correct compiler warning introduced by hpsa-add-local-workqueue patch
6636e7f4 hpsa: Use local workqueues
instead of system workqueues

Suggested-by: default avatarKees Cook <keescook@chromium.org>
Reviewed-by: default avatarScott Teel <scott.teel@pmcs.com>
Reviewed-by: default avatarWebb Scales <webbnh@hp.com>
Signed-off-by: default avatarDon Brace <don.brace@pmcs.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent f76a610a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -6831,10 +6831,8 @@ static struct workqueue_struct *hpsa_create_controller_wq(struct ctlr_info *h,
						char *name)
{
	struct workqueue_struct *wq = NULL;
	char wq_name[20];

	snprintf(wq_name, sizeof(wq_name), "%s_%d_hpsa", name, h->ctlr);
	wq = alloc_ordered_workqueue(wq_name, 0);
	wq = alloc_ordered_workqueue("%s_%d_hpsa", 0, name, h->ctlr);
	if (!wq)
		dev_err(&h->pdev->dev, "failed to create %s workqueue\n", name);