lkml.org 
[lkml]   [2019]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] isdn: hisax: Fix misuse of %x in config.c
From
From: Fuqian Huang <huangfq.daxian@gmail.com>
Date: Tue, 23 Apr 2019 10:25:28 +0800

> Pointers should be printed with %p or %px rather than
> cast to (u_long) type and printed with %lX.
> As the function seems to be for debug purpose.
> Change %lX to %px to print the pointer value.
>
> Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>

I agree with Stephen that we should probably remove this stuff entirely
but I'll apply this for now.

\
 
 \ /
  Last update: 2019-04-24 03:34    [W:0.070 / U:1.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site