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

Commit c7034898 authored by James Smart's avatar James Smart Committed by Christoph Hellwig
Browse files

nvme/fc: correct some printk information



Dan Carpenters's tool caught a pointer reference - should have been
just ptr, not &ptr.

Don't bother. Remove the pointer value in the printf. Its irrelevant.

Signed-off-by: default avatarJames Smart <james.smart@broadcom.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 2c473a9d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2401,8 +2401,8 @@ __nvme_fc_create_ctrl(struct device *dev, struct nvmf_ctrl_options *opts,
	WARN_ON_ONCE(!changed);

	dev_info(ctrl->ctrl.device,
		"NVME-FC{%d}: new ctrl: NQN \"%s\" (%p)\n",
		ctrl->cnum, ctrl->ctrl.opts->subsysnqn, &ctrl);
		"NVME-FC{%d}: new ctrl: NQN \"%s\"\n",
		ctrl->cnum, ctrl->ctrl.opts->subsysnqn);

	kref_get(&ctrl->ctrl.kref);