linux-hardened/drivers/iio/imu/inv_mpu6050
Atilla Filiz b9b3a41893 iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference
The driver segfaults when the kernel boots with device tree as the
platform data is then not present and the pointer is deferenced without
checking it is not null.  This patch introduces such a check avoiding the
crash.

Signed-off-by: Atilla Filiz <atilla.filiz@essensium.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
2014-04-26 11:14:51 +01:00
..
inv_mpu_core.c iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference 2014-04-26 11:14:51 +01:00
inv_mpu_iio.h iio: imu: inv_mpu6050: Fix typo and formatting 2014-02-08 12:29:40 +00:00
inv_mpu_ring.c iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
inv_mpu_trigger.c iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00
Kconfig
Makefile