diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-10-22 12:15:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-02 09:43:47 +0000 |
commit | 8f1b7eb11422d28fbc7432f0dee2f97aead09417 (patch) | |
tree | eadfcfeb19e66b8d47ad9481dd9cf806a67a0930 /mm/percpu-vm.c | |
parent | fad109452e0562e896ee0ede27552931c761b0ad (diff) | |
download | linux-stable-8f1b7eb11422d28fbc7432f0dee2f97aead09417.tar.gz linux-stable-8f1b7eb11422d28fbc7432f0dee2f97aead09417.tar.bz2 linux-stable-8f1b7eb11422d28fbc7432f0dee2f97aead09417.zip |
iio: Do not accept multiple '.' in fixed point numbers
Currently when parsing a fix-point number we silently skip any additional '.'
found in the string. E.g. '1.2.3.4' gets parsed as '1.234'. This patch
disallows this and returns an error if more than one '.' is encountered.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions