diff options
author | Dave Jiang <[email protected]> | 2021-07-21 11:35:03 -0700 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-07-28 17:55:40 +0530 |
commit | 568b2126466f926a10be0b53b40c2d6ae056d8d6 (patch) | |
tree | b6c7ea998d32a7c7c780da9c06b2a8564bbcc26b /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ade8a86b512cf8db0d0e975a971ce356953cfcb3 (diff) |
dmaengine: idxd: fix uninit var for alt_drv
0-day detected uninitialized alt_drv variable in the bind_store() function.
The branch can be taken when device is not idxd device or wq 'struct
device'. Init alt_drv to NULL.
Fixes: 6e7f3ee97bbe ("dmaengine: idxd: move dsa_drv support to compatible mode")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/162689250332.2114335.636367120454420852.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions