diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-02-23 22:42:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-26 13:50:17 +0300 |
commit | 615cba3557f1bad6061acde2067a3edbf80d90c2 (patch) | |
tree | 5a5fc3710f18cd72e12a6ee4653a20be98b9e798 /drivers/staging/speakup/main.c | |
parent | 97c64322b8dded294fe1f1021946dcad49c0fb4e (diff) | |
download | linux-615cba3557f1bad6061acde2067a3edbf80d90c2.tar.xz |
staging: speakup: Note that simple_strtoul can't simply be replaced by kstrtoul
We often receive patches which erroneously try to use kstrtoul in these
places.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/main.c')
-rw-r--r-- | drivers/staging/speakup/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 869f40ebf1a7..c092a8ea45e2 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -1979,6 +1979,7 @@ oops: return 1; } + /* Do not replace with kstrtoul: here we need cp to be updated */ goto_pos = simple_strtoul(goto_buf, &cp, 10); if (*cp == 'x') { |