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

Commit c2f727ce authored by Zhen Kong's avatar Zhen Kong
Browse files

msm: crypto: use dev_dbg for kernel address during device probe



crypto device is probed before kptr_restrict is set to 2, so
kernel address is still printed with %pK format. Thus, change
to use dev_dbg and pr_debug to avoid printing kernel address
during crypto device probe.

Change-Id: Ieff9acb81d7a1e15b86ba55ec992235fab20ae2e
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent 49f7d351
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ static int _probe_ce_engine(struct qce_device *pce_dev)

	pce_dev->ce_bam_info.ce_burst_size = MAX_CE_BAM_BURST_SIZE;

	dev_info(pce_dev->pdev, "CE device = %#x IO base, CE = %pK Consumer (IN) PIPE %d,\nProducer (OUT) PIPE %d IO base BAM = %pK\nBAM IRQ %d Engines Availability = %#x\n",
	dev_dbg(pce_dev->pdev, "CE device = %#x IO base, CE = %pK Consumer (IN) PIPE %d,\nProducer (OUT) PIPE %d IO base BAM = %pK\nBAM IRQ %d Engines Availability = %#x\n",
			pce_dev->ce_bam_info.ce_device, pce_dev->iobase,
			pce_dev->ce_bam_info.dest_pipe_index,
			pce_dev->ce_bam_info.src_pipe_index,
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ static int qcedev_setup_context_bank(struct context_bank_info *cb,
	pr_info("%s Attached %s and create mapping\n", __func__, dev_name(dev));
	pr_info("%s Context Bank name:%s, is_secure:%d, start_addr:%#x\n",
			__func__, cb->name, cb->is_secure, cb->start_addr);
	pr_info("%s size:%#x, dev:%pK, mapping:%pK\n", __func__, cb->size,
	pr_debug("%s size:%#x, dev:%pK, mapping:%pK\n", __func__, cb->size,
			cb->dev, cb->mapping);
	return rc;