* [PATCH] vsprintf: spread "const char *"
@ 2019-12-19 17:34 Alexey Dobriyan
2019-12-20 2:04 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2019-12-19 17:34 UTC (permalink / raw)
To: pmladek, rostedt, sergey.senozhatsky, andriy.shevchenko, linux
Cc: linux-kernel, akpm
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] vsprintf: spread "const char *"
2019-12-19 17:34 [PATCH] vsprintf: spread "const char *" Alexey Dobriyan
@ 2019-12-20 2:04 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2019-12-20 2:04 UTC (permalink / raw)
To: Alexey Dobriyan
Cc: pmladek, sergey.senozhatsky, andriy.shevchenko, linux,
linux-kernel, akpm
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-20 2:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 17:34 [PATCH] vsprintf: spread "const char *" Alexey Dobriyan
2019-12-20 2:04 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).