Messages in this thread | | | Date | Sun, 29 Jan 2017 16:17:47 +0100 | From | Sebastian Reichel <> | Subject | Re: [PATCH] power: supply: bq2415x: check for NULL acpi_id to avoid null pointer dereference |
| |
Hi,
On Fri, Jan 20, 2017 at 01:25:06PM +0000, Colin King wrote: > acpi_match_device can potentially return NULL, so it is prudent to > check if acpi_id is null before it is dereferenced. Add a check > and an error message to indicate the failure. > > Signed-off-by: Colin Ian King <colin.king@canonical.com>
Thanks, queued into power-supply's for-next branch.
-- Sebastian [unhandled content-type:application/pgp-signature] | |