lkml.org 
[lkml]   [2019]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 03/06] misc: genwqe: Fix misuse of %x
On Sun, Apr 21, 2019 at 1:48 PM Fuqian Huang <huangfq.daxian@gmail.com> 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@gmail.com>

I would recommend to also use %pad for printing dma_addr_t if you do this.

Arnd

\
 
 \ /
  Last update: 2019-04-23 09:56    [W:0.046 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site