projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7171511
)
serial: samsung: Fix build error
author
Sachin Kamat
<
[email protected]
>
Tue, 3 Jun 2014 06:26:25 +0000
(11:56 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 18 Jun 2014 00:09:36 +0000
(17:09 -0700)
Fixes the following build error due to a typo introduced
by commit
e4ac92df27
("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 <
[email protected]
>
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Arnd Bergmann <
[email protected]
>
Signed-off-by: Christian Engelmayer <
[email protected]
>
Acked-by: Joe Perches <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/serial/samsung.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/samsung.c
b/drivers/tty/serial/samsung.c
index 329337711bb03fae1dd0eea9b4b9dcf6e8ca798d..c1d3ebdf3b97cf25f81699db1c697dcdf2f478cd 100644
(file)
--- a/
drivers/tty/serial/samsung.c
+++ b/
drivers/tty/serial/samsung.c
@@
-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(buf
f
), fmt, va);
va_end(va);
printascii(buff);