diff options
author | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2018-02-28 01:09:52 +0300 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2018-04-12 20:02:44 +0300 |
commit | b34050fadb86c55d2066ec78a9d05e9809ff5812 (patch) | |
tree | c57d310e04c9b6458ea80fedbb65bbbafdcd0750 /include/linux/bcm47xx_nvram.h | |
parent | 2e8c04f75731bbd968fa77e94ed856f2dcf53ae6 (diff) | |
download | linux-b34050fadb86c55d2066ec78a9d05e9809ff5812.tar.xz |
auxdisplay: charlcd: Fix and clean up handling of x/y commands
The current version is not parsing multiple x/y commands as the code
originally intended. On top of that, kstrtoul() expects
NULL-terminated strings. Finally, the code does two passes over
the string.
Some explanations about the supported syntax are added as well.
Cc: Willy Tarreau <w@1wt.eu>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Robert Abel <rabel@robertabel.eu>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'include/linux/bcm47xx_nvram.h')
0 files changed, 0 insertions, 0 deletions