[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191219173458.GA4246@avx2>
Date: Thu, 19 Dec 2019 20:34:58 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: pmladek@...e.com, rostedt@...dmis.org,
sergey.senozhatsky@...il.com, andriy.shevchenko@...ux.intel.com,
linux@...musvillemoes.dk
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: [PATCH] vsprintf: spread "const char *"
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---
lib/vsprintf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -1550,7 +1550,7 @@ static noinline_for_stack
char *ip_addr_string(char *buf, char *end, const void *ptr,
struct printf_spec spec, const char *fmt)
{
- char *err_fmt_msg;
+ const char *err_fmt_msg;
if (check_pointer(&buf, end, ptr, spec))
return buf;
Powered by blists - more mailing lists