Re: [PATCH] trivial/sprintf: Fix typo of witdh to width

From: Andy Shevchenko
Date: Wed May 29 2013 - 14:07:21 EST


On Tue, May 28, 2013 at 10:47 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> hex_string() had a typo in a comment.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Acked-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

>
> Index: linux-trace.git/lib/vsprintf.c
> ===================================================================
> --- linux-trace.git.orig/lib/vsprintf.c
> +++ linux-trace.git/lib/vsprintf.c
> @@ -670,7 +670,7 @@ static noinline_for_stack
> char *hex_string(char *buf, char *end, u8 *addr, struct printf_spec spec,
> const char *fmt)
> {
> - int i, len = 1; /* if we pass '%ph[CDN]', field witdh remains
> + int i, len = 1; /* if we pass '%ph[CDN]', field width remains
> negative value, fallback to the default */
> char separator;
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/



--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/