linux_dsm_epyc7002/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
..
arm-charlcd.c auxdisplay: simplify getting .drvdata 2018-08-01 18:58:09 +02:00
cfag12864b.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
cfag12864bfb.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
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 auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Silence 2 uninitialized warnings 2018-03-13 18:16:38 +01:00
Kconfig auxdisplay: make PANEL a menuconfig 2018-04-12 19:02:45 +02:00
ks0108.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
panel.c Compiler Attributes: auxdisplay: panel: use __nonstring 2018-09-30 20:14:04 +02:00