Re: [PATCH v2 03/06] misc: genwqe: Fix misuse of %x

2019-04-23 Thread Arnd Bergmann
On Sun, Apr 21, 2019 at 1:48 PM Fuqian Huang 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 I would recommend to also use %pad for printing dma_addr_t i

[PATCH v2 03/06] misc: genwqe: Fix misuse of %x

2019-04-21 Thread Fuqian Huang
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 --- drivers/misc/genwqe/card_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/