All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: [PULL] IIO fixes for 4.6d (inv mpu6050 acpi regression)
Date: Thu, 5 May 2016 20:40:12 +0100	[thread overview]
Message-ID: <9a501e31-9b99-0c88-8bff-9590fdd1b107@kernel.org> (raw)

The following changes since commit 431adc0aeca68d257bd705db50f73e4c19e5690d:

  Merge tag 'iio-fixes-for-4.6c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus (2016-04-26 14:58:46 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-4.6d

for you to fetch changes up to 393dbe4e18dd5b17b3952c7d36ac88f61ec40924:

  iio: imu: mpu6050: Fix name/chip_id when using ACPI (2016-05-04 08:44:27 +0100)

----------------------------------------------------------------
Fourth set of IIO fixes for the 4.6 cycle.

This last minute set is concerned with a regression in the mpu6050 driver.
The regression causes a null pointer dereference on any ACPI device
that has one of these present such as the ASUS T100TA Baytrail/T.

The issue was known but thought (i.e. missunderstood by me)
to only be a possible with no reports, so was routed via the normal merge
window.  Turns out this was wrong (thanks to Alan for reporting the crash).

The pull is just for the null dereference fix and a followup fix
that also stops the reported name of the device being NULL.

* mpu6050
  - Fix a 'possible' NULL dereference introduced as part of splitting the
  driver to allow both i2c and spi to be supported.  The issue affects ACPI
  systems with this device.
  - Fix a follow up issue where the name and chip id both get set to null if
  the device driver instance is instantiated from ACPI tables.

----------------------------------------------------------------
Daniel Baluta (1):
      iio: imu: mpu6050: Fix name/chip_id when using ACPI

Matt Ranostay (1):
      iio: imu: mpu6050: fix possible NULL dereferences

 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 30 +++++++++++++++++++++++++++---
 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c |  3 ++-
 2 files changed, 29 insertions(+), 4 deletions(-)

             reply	other threads:[~2016-05-05 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 19:40 Jonathan Cameron [this message]
2016-05-05 22:39 ` [PULL] IIO fixes for 4.6d (inv mpu6050 acpi regression) Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a501e31-9b99-0c88-8bff-9590fdd1b107@kernel.org \
    --to=jic23@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.