linux/drivers/staging/iio
Lars-Peter Clausen e38c79e082 staging:iio: Disallow modifying buffer size when buffer is enabled
The buffer buffer storage is only update when enabling the buffer. Changing the
buffer size while the buffer is enabled will confuse the buffer in regard to
its actual buffer size and can cause potential memory corruption. Thus it is
only safe to modify the buffer size when the buffer is disabled.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-22 13:38:07 -08:00
..
accel staging:iio:buffer struct iio_buffer doesn't need an indio_dev pointer. 2011-12-08 12:13:58 -08:00
adc staging:iio: iio_trigger contains defunct owner field. Remove it. 2011-12-16 10:56:26 -08:00
addac staging:iio: Remove redundant spi driver bus initialization 2011-12-08 11:33:19 -08:00
cdc staging:iio:treewide only use shared to decide on interfaces 2011-11-26 16:35:04 -08:00
dac staging:iio:dac:ad5791: Add id entry for the ad5790 2011-12-09 14:39:47 -08:00
dds staging:iio: Remove redundant spi driver bus initialization 2011-12-08 11:33:19 -08:00
Documentation staging:iio:generic_buffer example - handle endian differences 2011-12-08 11:32:35 -08:00
gyro iio: gyro: ADXRS450: Add support for ADXRS453 Digital Gyroscope 2011-12-16 10:55:02 -08:00
impedance-analyzer staging:iio:buffer struct iio_buffer doesn't need an indio_dev pointer. 2011-12-08 12:13:58 -08:00
imu staging:iio:buffer remove unused owner field from struct iio_buffer 2011-12-08 12:11:09 -08:00
light iio: light sensor: Improve granularity of tsl2583 lux values. 2011-12-08 11:30:24 -08:00
magnetometer staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
meter staging:iio:buffer remove unused owner field from struct iio_buffer 2011-12-08 12:11:09 -08:00
resolver staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
trigger staging:iio: iio_trigger contains defunct owner field. Remove it. 2011-12-16 10:56:26 -08:00
buffer.h staging:iio:kfifo_buf: Fix potential buffer overflow in iio_read_first_n_kfifo 2011-12-12 16:51:03 -08:00
events.h staging:iio: IIO_EVENT_CODE: Clamp channel numbers 2011-11-26 16:39:58 -08:00
iio.h staging:iio:buffer move setup ops from buffer instance to iio_dev 2011-12-08 12:11:08 -08:00
iio_core.h staging:iio: core. Allow for event chrdev obtaining ioctl if no buffer present. 2011-11-26 16:30:31 -08:00
iio_core_trigger.h staging:iio:triggers Remove unecessary existence checks and return val 2011-11-26 16:30:30 -08:00
iio_dummy_evgen.c iio: Don't OOPS if dummy evgen failed init 2011-11-26 16:52:44 -08:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
iio_simple_dummy.c staging: iio: Use kcalloc instead of kzalloc to allocate array 2011-11-30 19:37:33 +09:00
iio_simple_dummy.h staging:iio:dummy Add buffered reading support 2011-10-17 15:36:30 -07:00
iio_simple_dummy_buffer.c staging:iio:buffer remove unused owner field from struct iio_buffer 2011-12-08 12:11:09 -08:00
iio_simple_dummy_events.c staging:iio: header reorganization 2011-11-26 16:35:04 -08:00
industrialio-buffer.c staging:iio: Disallow modifying buffer size when buffer is enabled 2011-12-22 13:38:07 -08:00
industrialio-core.c Merge 3.2-rc5 into staging-next 2011-12-09 19:01:27 -08:00
industrialio-trigger.c staging:iio: trigger fixes for repeat request of same trigger and allocation failure 2011-11-26 16:30:30 -08:00
Kconfig staging: iio: drop "select IIO_SIMPLE_DUMMY_EVGEN" 2011-11-26 16:43:38 -08:00
kfifo_buf.c staging:iio:kfifo_buf: Fix potential buffer overflow in iio_read_first_n_kfifo 2011-12-12 16:51:03 -08:00
kfifo_buf.h staging:iio: header reorganization 2011-11-26 16:35:04 -08:00
Makefile iio: adc: Relocate Capacitance to Digital Converters (CDC) into own subdir 2011-10-19 13:55:43 -07:00
ring_hw.h staging:iio: replacing term ring with buffer in the IIO core. 2011-09-26 17:31:53 -07:00
ring_sw.c Merge branch 'work-next' into staging-next 2011-12-08 12:16:43 -08:00
ring_sw.h staging:iio: header reorganization 2011-11-26 16:35:04 -08:00
sysfs.h staging:iio: header reorganization 2011-11-26 16:35:04 -08:00
TODO
trigger.h staging:iio: iio_trigger contains defunct owner field. Remove it. 2011-12-16 10:56:26 -08:00
trigger_consumer.h
types.h staging:iio: Fix typo 2011-12-08 12:15:44 -08:00