Re: [PATCH] vsprintf: avoid misleading "(null)" for %px
From: Andy Shevchenko
Date: Thu Feb 08 2018 - 10:29:49 EST
On Wed, Feb 7, 2018 at 5:41 PM, Petr Mladek <pmladek@xxxxxxxx> wrote:
> On Wed 2018-02-07 16:11:13, Geert Uytterhoeven wrote:
> To make it clear. I was talking about "%p" format that is handled
> in the pointer() function in lib/vsprintf.c. The "(null)" makes
> sense only for the many modifiers that do deference of
> the pointer, e.g. "%pa", "%pE", "%ph".
JFYI: I have a patch to eliminate those for %pE & %ph.
Google for "lib/vsprintf: Remove useless NULL checks" as a first in
the series for new extension to print times.
I just need time to address comments and resend the series.
--
With Best Regards,
Andy Shevchenko