]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: mpu6050: fix possible NULL dereferences
authorMatt Ranostay <matt.ranostay@intel.com>
Thu, 3 Mar 2016 03:18:12 +0000 (19:18 -0800)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 07:42:00 +0000 (08:42 +0100)
commitb89c6534d58ba09a0f100a0f0f854dfe0cf6282a
tree9ba1b9bab9c5dfbc602b8a3807997ad18d6f7810
parent0f1fe8adda229d04dc1ccd2e23cf9efdfd3c20e1
iio: imu: mpu6050: fix possible NULL dereferences

Fix possible null dereferencing of i2c and spi driver data.

Signed-off-by: Matt Ranostay <matt.ranostay@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c