lkml.org 
[lkml]   [2019]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vsprintf: spread "const char *"
On Thu, 19 Dec 2019 20:34:58 +0300
Alexey Dobriyan <adobriyan@gmail.com> wrote:

What does 'spread "const char*"' mean?

And you need to have a change log. Did this cause a warning? If so,
please show it in the change log.

-- Steve


> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.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;

\
 
 \ /
  Last update: 2019-12-20 03:05    [W:0.024 / U:9.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site