Skip to content

Commit

Permalink
serial: samsung: Fix build error
Browse files Browse the repository at this point in the history
Fixes the following build error due to a typo introduced
by commit e4ac92d ("serial: samsung: Neaten dbg uses"):
drivers/tty/serial/samsung.c:69:26: error: ‘buf’ undeclared (first use in this function)

Reported-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Jun 18, 2014
1 parent 7171511 commit a859c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/samsung.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static void dbg(const char *fmt, ...)
char buff[256];

va_start(va, fmt);
vscnprintf(buff, sizeof(buf), fmt, va);
vscnprintf(buff, sizeof(buff), fmt, va);
va_end(va);

printascii(buff);
Expand Down

0 comments on commit a859c8b

Please sign in to comment.