]> git.baikalelectronics.ru Git - kernel.git/commit
lib/vsprintf: Prepare for more general use of ptr_to_id()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 11 Oct 2018 08:42:47 +0000 (10:42 +0200)
committerPetr Mladek <pmladek@suse.com>
Fri, 12 Oct 2018 09:23:13 +0000 (11:23 +0200)
commit4b5f537df42bcaae5273f0a11e5b352c02e1c1b4
tree0aa417e24df1000c417e9013a964a7e4d8916e07
parentd1eb2d7023f8ced2de630b589101ff0e308905c3
lib/vsprintf: Prepare for more general use of ptr_to_id()

Move the function and its dependencies up so it can be called from
special pointer type formatting routines.

Link: http://lkml.kernel.org/r/20181011084249.4520-2-geert+renesas@glider.be
To: "Tobin C . Harding" <me@tobin.cc>
To: Andrew Morton <akpm@linux-foundation.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[pmladek@suse.com: Split into separate patch]
Signed-off-by: Petr Mladek <pmladek@suse.com>
lib/vsprintf.c