diff options
| author | Vinod Koul <[email protected]> | 2018-08-07 11:54:50 +0530 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2018-08-27 09:49:48 +0530 |
| commit | e1c815f4b24a305e5bc9eceb541674bf4d02b709 (patch) | |
| tree | cc809a843249155a91f7af37b19b182feebcc4aa /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| 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 <[email protected]>
Acked-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions