commit | e1c815f4b24a305e5bc9eceb541674bf4d02b709 | [log] [tgz] |
---|---|---|
author | Vinod Koul <vkoul@kernel.org> | Tue Aug 07 11:54:50 2018 +0530 |
committer | Vinod Koul <vkoul@kernel.org> | Mon Aug 27 09:49:48 2018 +0530 |
tree | cc809a843249155a91f7af37b19b182feebcc4aa | |
parent | 30246e2d78c0b06d67f77c4239f6741e77f42185 [diff] |
soundwire: intel: Fix uninitialized adev deref 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>