Files
linux/drivers
Stefan Windfeldt-Prytz f4e23b4343 iio: buffer: check if a buffer has been set up when poll is called
commit 4cd140bda6 upstream.

If no iio buffer has been set up and poll is called return 0.
Without this check there will be a null pointer dereference when
calling poll on a iio driver without an iio buffer.

Cc: stable@vger.kernel.org
Signed-off-by: Stefan Windfeldt-Prytz <stefan.windfeldt@axis.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-28 10:17:22 +01:00
..
2017-12-16 10:33:55 +01:00
2018-02-25 11:03:50 +01:00
2018-02-25 11:03:52 +01:00
2018-02-25 11:03:46 +01:00
2018-02-25 11:03:51 +01:00
2016-09-24 10:07:35 +02:00
2018-02-25 11:03:44 +01:00
2018-01-02 20:33:20 +01:00
2018-02-25 11:03:40 +01:00
2018-02-25 11:03:41 +01:00