linux-sg2042/drivers/iio
Gustavo A. R. Silva 2f9aeeed92 iio: adc: meson-saradc: add NULL check on of_match_device() return value
Check return value from call to of_match_device()
in order to prevent a NULL pointer dereference.

In case of NULL print error message and return -ENODEV

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-07-09 19:04:23 +01:00
..
accel iio: accel: st_accel_spi: add OF capability to st_accel_spi 2017-07-02 10:24:55 +01:00
adc iio: adc: meson-saradc: add NULL check on of_match_device() return value 2017-07-09 19:04:23 +01:00
amplifiers
buffer iio: buffer-dmaengine: Add missing header buffer_impl.h 2017-06-13 20:56:05 +01:00
chemical drivers: iio: chemical: replace comma with a semicolon 2017-03-30 19:13:23 +01:00
common iio: common: st_sensors: move st_sensors_of_i2c_probe() in common code 2017-07-01 10:16:56 +01:00
counter iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option 2017-03-15 21:59:08 +00:00
dac First set of new device support, features and cleanups for IIO in the 4.13 cycle 2017-05-29 15:53:42 +02:00
dummy iio:dummy: Stop enabling timestamp by default. 2017-01-10 19:54:55 +00:00
frequency iio: frequency: ad9523: use unsigned int rather then bare unsigned 2016-04-17 10:31:03 +01:00
gyro iio: gyro: st_gyro_spi: add OF capability to st_gyro_spi 2017-07-02 10:24:56 +01:00
health First set of IIO new device support, features and cleanup for the 4.12 cycle. 2017-03-06 13:17:21 +01:00
humidity iio: humidity: htu21: Add OF match table 2017-07-01 10:16:59 +01:00
imu iio: adis16400: Change unsigned to unsigned int 2017-07-02 10:27:03 +01:00
light iio: light: rpr0521 triggered buffer 2017-07-04 20:46:28 +01:00
magnetometer iio: magnetometer: st_magn_spi: add OF capability to st_magn_spi 2017-07-02 10:24:55 +01:00
orientation iio: hid-sensor-rotation: Add "scale" and "offset" properties parse support 2017-05-07 12:22:36 +01:00
potentiometer iio: max5481: Add support for Maxim digital potentiometers 2017-01-28 12:13:31 +00:00
potentiostat iio: lmp91000: Set parent device 2017-02-19 12:01:52 +00:00
pressure iio: pressure: zpa2326: Add newlines to logging macros 2017-07-06 19:28:28 +01:00
proximity Second set of IIO new device support, features and cleanups for the 4.13 cycle. 2017-06-26 07:09:23 +02:00
temperature iio: temperature: tsys01: Add OF match table 2017-07-01 10:16:42 +01:00
trigger iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode 2017-06-11 15:59:05 +01:00
Kconfig iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8 2016-10-01 17:06:21 +01:00
Makefile iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8 2016-10-01 17:06:21 +01:00
iio_core.h iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
iio_core_trigger.h
industrialio-buffer.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
industrialio-configfs.c
industrialio-core.c iio: add hardware triggered operating mode 2017-06-11 15:58:41 +01:00
industrialio-event.c iio: iio_push_event(): Don't crash if the event interface is not registered 2016-09-10 16:40:44 +01:00
industrialio-sw-device.c iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c iio: trigger: fix NULL pointer dereference in iio_trigger_write_current() 2017-05-21 12:36:59 +01:00
industrialio-triggered-event.c
inkern.c iio: inkern: fix a static checker error 2017-04-26 06:04:06 +01:00