kernel-fxtec-pro1x/drivers/soundwire
Vinod Koul 030f6397eb soundwire: intel: Fix uninitialized adev deref
[ Upstream commit e1c815f4b24a305e5bc9eceb541674bf4d02b709 ]

In case of error, we can dereference uninitialized 'adev'

drivers/soundwire/intel_init.c:154 sdw_intel_acpi_cb()
error: uninitialized symbol 'adev'.

Fix that by not using adev for warn print and make it pr_err.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-20 18:45:22 +01:00
..
bus.c soundwire: Initialize completion for defer messages 2019-11-20 18:45:22 +01:00
bus.h
bus_type.c
cadence_master.c soundwire: cadence_master: fix definitions for INTSTAT0/1 2019-09-06 10:21:56 +02:00
cadence_master.h
intel.c soundwire: intel: fix channel number reported by hardware 2019-10-07 18:57:11 +02:00
intel.h
intel_init.c soundwire: intel: Fix uninitialized adev deref 2019-11-20 18:45:22 +01:00
Kconfig soundwire: depend on ACPI 2019-11-12 19:20:38 +01:00
Makefile soundwire: fix regmap dependencies and align with other serial links 2019-10-07 18:57:27 +02:00
mipi_disco.c
slave.c
stream.c