diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-17 00:07:08 +0300 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2018-04-11 12:17:06 +0300 |
| commit | 496a9a5f3806d58b14ae06b390d5b1ffa26e9f9a (patch) | |
| tree | 5a014fee0ce70533d43238c06a9daff3afe4cb57 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | 558594f3c2a5cd65f18b976faf68143c502b73b2 (diff) | |
| download | linux-496a9a5f3806d58b14ae06b390d5b1ffa26e9f9a.tar.xz | |
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 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
