diff options
author | Laura Abbott <labbott@redhat.com> | 2016-10-28 09:59:38 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-10-28 11:03:47 -0700 |
commit | 06b113e9f28f8657715919087a3f54b77d1634ed (patch) | |
tree | f4b3a519151f8e668c9e3c12abd3c2715c909b30 /drivers/hwtracing | |
parent | 5c4a9129b81027eca12aeaf2fa9defb45150f533 (diff) |
clk: xgene: Don't call __pa on ioremaped address
ioremaped addresses are not linearly mapped so the physical
address can not be figured out via __pa. More generally, there
is no guarantee that backing value of an ioremapped address
is a physical address at all. The value here is only used
for debugging so just drop the call to __pa on the ioremapped
address.
Fixes: 6ae5fd381251 ("clk: xgene: Silence sparse warnings")
Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Loc Ho <lho@apm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions