All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial/sprintf: Fix typo of witdh to width
@ 2013-05-28 19:47 Steven Rostedt
  2013-05-29 18:01 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2013-05-28 19:47 UTC (permalink / raw)
  To: Andrew Morton, Jiri Kosina; +Cc: LKML

hex_string() had a typo in a comment.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

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;
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] trivial/sprintf: Fix typo of witdh to width
  2013-05-28 19:47 [PATCH] trivial/sprintf: Fix typo of witdh to width Steven Rostedt
@ 2013-05-29 18:01 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2013-05-29 18:01 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Andrew Morton, Jiri Kosina, LKML

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

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

>
> 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@vger.kernel.org
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-29 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 19:47 [PATCH] trivial/sprintf: Fix typo of witdh to width Steven Rostedt
2013-05-29 18:01 ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.