]> Git Repo - linux.git/commit
auxdisplay: charlcd: Fix and clean up handling of x/y commands
authorMiguel Ojeda <[email protected]>
Tue, 27 Feb 2018 22:09:52 +0000 (23:09 +0100)
committerMiguel Ojeda <[email protected]>
Thu, 12 Apr 2018 17:02:44 +0000 (19:02 +0200)
commitb34050fadb86c55d2066ec78a9d05e9809ff5812
treec57d310e04c9b6458ea80fedbb65bbbafdcd0750
parent2e8c04f75731bbd968fa77e94ed856f2dcf53ae6
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 <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Robert Abel <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
drivers/auxdisplay/charlcd.c
This page took 0.05101 seconds and 4 git commands to generate.