linux/drivers/iio
Dan Carpenter 12660138b4 iio:gyro: adis16136: divide by zero in write_frequency()
It's slightly cleaner to use kstrtouint() because we pass unsigned ints
to adis16136_set_freq().  On 64 bit systems, if the user passed LONG_MIN
then it we would get past the test against zero but crash in
adis16136_set_freq() because we truncate the high bits away.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-By: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-11-30 13:09:22 +00:00
..
accel iio: hid-sensor: Return proper error if kmemdup fails 2012-11-17 10:17:28 +00:00
adc iio: adc: Add Texas Instruments ADC081C021/027 support 2012-11-30 12:57:09 +00:00
amplifiers
common iio: hid-sensors: convert HID_SENSOR_ENUM_BASE_QUIRKS to bool 2012-11-17 10:15:41 +00:00
dac
frequency
gyro iio:gyro: adis16136: divide by zero in write_frequency() 2012-11-30 13:09:22 +00:00
imu iio:imu: Add support for the ADIS16480 and similar IMUs 2012-11-20 21:28:51 +00:00
light iio: hid-sensor: Return proper error if kmemdup fails 2012-11-17 10:17:28 +00:00
magnetometer iio: hid-sensor: Return proper error if kmemdup fails 2012-11-17 10:17:28 +00:00
buffer_cb.c staging:iio: add a callback buffer for in kernel push interface 2012-11-10 10:17:27 +00:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c staging:iio: Add support for multiple buffers 2012-11-10 10:17:21 +00:00
industrialio-core.c iio: Factor out fixed point number parsing into its own function 2012-11-20 21:26:39 +00:00
industrialio-event.c drivers/iio/industrialio-event.c: eliminate possible double free 2012-11-17 10:17:20 +00:00
industrialio-trigger.c
industrialio-triggered-buffer.c
inkern.c staging:iio:in kernel users: Add a data field for channel specific info. 2012-11-10 10:17:27 +00:00
Kconfig staging:iio: Move adis library out of staging 2012-11-19 22:22:12 +00:00
kfifo_buf.c
Makefile staging:iio: Move adis library out of staging 2012-11-19 22:22:12 +00:00