linux/drivers/iio
Lars-Peter Clausen 8f1b7eb114 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>
2012-11-02 09:43:47 +00:00
..
accel iio: fix spelling of Accelerometer in Kconfig 2012-10-19 16:19:02 +01:00
adc Revert "iio: at91_adc: Use devm_kcalloc to allocate arrays" 2012-10-31 10:56:28 +00:00
amplifiers
common iio: hid-sensors: Prevent crash during hot-unplug 2012-09-22 10:07:34 +01:00
dac iio:dac:ad5449: unlock on error path 2012-10-31 10:59:55 +00:00
frequency iio: frequency: ADF4350: Fix potential reference div factor overflow. 2012-08-16 20:24:33 +01:00
gyro iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
light iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
magnetometer iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio: Use strict_strtouint instead of kstrtoul 2012-10-19 18:46:50 +01:00
industrialio-core.c iio: Do not accept multiple '.' in fixed point numbers 2012-11-02 09:43:47 +00:00
industrialio-event.c iio: Use strict_strtouint instead of kstrtoul 2012-10-19 18:46:50 +01:00
industrialio-trigger.c iio:trigger: Register sysfs file statically 2012-07-08 10:39:58 +01:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio: Add a logarithmic fractional value type 2012-10-19 18:46:51 +01:00
Kconfig iio: Remove duplicates for light/ in Kconfig and Makefile 2012-10-19 19:44:06 +01:00
kfifo_buf.c iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
Makefile iio: Remove duplicates for light/ in Kconfig and Makefile 2012-10-19 19:44:06 +01:00