WSL2-Linux-Kernel/drivers/auxdisplay
Mans Rullgard 9bc30ab821 auxdisplay: charlcd: fix x/y command parsing
The x/y command parsing has been broken since commit 129957069e
("staging: panel: Fixed checkpatch warning about simple_strtoul()").

Commit b34050fadb ("auxdisplay: charlcd: Fix and clean up handling of
x/y commands") fixed some problems by rewriting the parsing code,
but also broke things further by removing the check for a complete
command before attempting to parse it.  As a result, parsing is
terminated at the first x or y character.

This reinstates the check for a final semicolon.  Whereas the original
code use strchr(), this is wasteful seeing as the semicolon is always
at the end of the buffer.  Thus check this character directly instead.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
2018-12-21 21:27:21 +01:00
..
Kconfig
Makefile
arm-charlcd.c
cfag12864b.c
cfag12864bfb.c
charlcd.c auxdisplay: charlcd: fix x/y command parsing 2018-12-21 21:27:21 +01:00
hd44780.c gpiolib: Pass array info to get/set array functions 2018-09-13 11:16:54 +02:00
ht16k33.c
img-ascii-lcd.c
ks0108.c
panel.c Compiler Attributes: auxdisplay: panel: use __nonstring 2018-09-30 20:14:04 +02:00