mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 16:51:45 +00:00
b9b3a41893
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 |
||
---|---|---|
.. | ||
inv_mpu6050 | ||
adis16400_buffer.c | ||
adis16400_core.c | ||
adis16400.h | ||
adis16480.c | ||
adis_buffer.c | ||
adis_trigger.c | ||
adis.c | ||
Kconfig | ||
Makefile |