Re: [PATCH v2 03/06] misc: genwqe: Fix misuse of %x
From: Arnd Bergmann
Date: Tue Apr 23 2019 - 03:56:12 EST
On Sun, Apr 21, 2019 at 1:48 PM Fuqian Huang <huangfq.daxian@xxxxxxxxx> wrote:
>
> The pointer should be printed with %p or %px rather than
> cast to long long type and printed with %016llx.
> Change %x to %p to print the pointer.
>
> Signed-off-by: Fuqian Huang <huangfq.daxian@xxxxxxxxx>
I would recommend to also use %pad for printing dma_addr_t if you do this.
Arnd