diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-16 22:07:08 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-04-11 11:17:06 +0200 |
commit | 496a9a5f3806d58b14ae06b390d5b1ffa26e9f9a (patch) | |
tree | 5a014fee0ce70533d43238c06a9daff3afe4cb57 /block/badblocks.c | |
parent | lib/vsprintf: Move pointer_string() upper (diff) | |
download | linux-496a9a5f3806d58b14ae06b390d5b1ffa26e9f9a.tar.xz linux-496a9a5f3806d58b14ae06b390d5b1ffa26e9f9a.zip |
lib/vsprintf: Deduplicate pointer_string()
There is an exact code at the end of ptr_to_id().
Replace it by calling pointer_string() directly.
This is followup to the commit ad67b74d2469 ("printk: hash addresses
printed with %p").
Cc: Tobin C. Harding <me@tobin.cc>
Link: http://lkml.kernel.org/r/20180216210711.79901-6-andriy.shevchenko@linux.intel.com
To: "Tobin C . Harding" <me@tobin.cc>
To: linux@rasmusvillemoes.dk
To: Joe Perches <joe@perches.com>
To: linux-kernel@vger.kernel.org
To: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'block/badblocks.c')
0 files changed, 0 insertions, 0 deletions