coresight: use %pa for printing physical address
We should be using %pa when printing physical addresses. There is an
instance in the coresight code where we're casting a physical address to
a (void *) and printing that with %p. That doesn't work with LPAE since
virtual addresses are only 32-bits and physical addresses are
64-bits. Fix this.
This fixes the following warning:
In file included from kernel/drivers/coresight/coresight-tmc.c:17:0:
kernel/drivers/coresight/coresight-tmc.c: In function \
‘tmc_etr_sg_compute_read’:
kernel/drivers/coresight/coresight-tmc.c:1473:21: warning: cast to \
pointer from integer of different size [-Wint-to-pointer-cast]
error, forbidden warning: coresight-tmc.c:1473
Change-Id: I749a7650534c8cfcba45ffd49caf96d30494009b
Signed-off-by:
Mitchel Humpherys <mitchelh@codeaurora.org>
Loading
Please register or sign in to comment