vsprintf: fix data type of variable in string_nocheck()
authorYoungmin Nam <youngmin.nam@samsung.com>
Mon, 10 Jun 2019 07:47:07 +0000 (16:47 +0900)
committerPetr Mladek <pmladek@suse.com>
Wed, 12 Jun 2019 07:12:27 +0000 (09:12 +0200)
commitb314dd49a28a38997aa8f472d02f0631a830d37a
tree3343f7426bb70c56ce33651b5a50ad7736d3134c
parente290e6af1d22c3f5225c9d46faabdde80e27aef2
vsprintf: fix data type of variable in string_nocheck()

This patch fixes data type of precision with int.
The precision is declared as signed int in struct printf_spec.

Link: http://lkml.kernel.org/r/040301d51f60$b4959100$1dc0b300$@samsung.com
To: <andriy.shevchenko@linux.intel.com>
To: <geert+renesas@glider.be>
To: <rostedt@goodmis.org>
To: <me@tobin.cc>
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
lib/vsprintf.c