summaryrefslogtreecommitdiffstats
path: root/block/badblocks.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-02-16 22:07:08 +0100
committerPetr Mladek <pmladek@suse.com>2018-04-11 11:17:06 +0200
commit496a9a5f3806d58b14ae06b390d5b1ffa26e9f9a (patch)
tree5a014fee0ce70533d43238c06a9daff3afe4cb57 /block/badblocks.c
parentlib/vsprintf: Move pointer_string() upper (diff)
downloadlinux-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