I want print the virtual address by %pK, in kernel, after early console has been setup, but the out put is ____ptrval____,
void __iomem *dist_base;
dist_base = of_iomap(node, 0); pr_info("dist_base %pK\n", dist_base);
but the output is dist_base (____ptrval____)
have got the answer, use %pS
I am trying to do this also and getting the same response.
My Fortiva Account