summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorMiguel Ojeda2018-02-27 23:09:52 +0100
committerMiguel Ojeda2018-04-12 19:02:44 +0200
commitb34050fadb86c55d2066ec78a9d05e9809ff5812 (patch)
treec57d310e04c9b6458ea80fedbb65bbbafdcd0750 /net/core
parentauxdisplay: charlcd: fix hex literal ranges for graphics command (diff)
downloadkernel-qcow2-linux-b34050fadb86c55d2066ec78a9d05e9809ff5812.tar.gz
kernel-qcow2-linux-b34050fadb86c55d2066ec78a9d05e9809ff5812.tar.xz
kernel-qcow2-linux-b34050fadb86c55d2066ec78a9d05e9809ff5812.zip
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 'net/core')
0 files changed, 0 insertions, 0 deletions