Commit ea143c4f authored by Hayato Suzuki's avatar Hayato Suzuki Committed by Greg Kroah-Hartman

staging: speakup: fix typo in kobjects.c

Correct spelling typo in kobjects.c
Signed-off-by: default avatarHayato Suzuki <hytszk@gmail.com>
Acked-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c5ace7bf
...@@ -641,7 +641,7 @@ ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr, ...@@ -641,7 +641,7 @@ ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr,
if (kstrtol(cp, 10, &value) == 0) if (kstrtol(cp, 10, &value) == 0)
ret = spk_set_num_var(value, param, len); ret = spk_set_num_var(value, param, len);
else else
pr_warn("overflow or parsing error has occured"); pr_warn("overflow or parsing error has occurred");
if (ret == -ERANGE) { if (ret == -ERANGE) {
var_data = param->data; var_data = param->data;
pr_warn("value for %s out of range, expect %d to %d\n", pr_warn("value for %s out of range, expect %d to %d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment