diff options
author | Atilla Filiz <atilla.filiz@essensium.com> | 2014-04-11 18:51:23 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-26 14:14:51 +0400 |
commit | b9b3a41893c3f1be67b5aacfa525969914bea0e9 (patch) | |
tree | 09da1c68f682e1f5b4e4803591bd4857f7e79101 /Documentation/digsig.txt | |
parent | c60e5760b0a62b072ba00ac07643d9b6fb29f2b4 (diff) | |
download | linux-b9b3a41893c3f1be67b5aacfa525969914bea0e9.tar.xz |
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
Diffstat (limited to 'Documentation/digsig.txt')
0 files changed, 0 insertions, 0 deletions