diff options
author | Anton Vasilyev <[email protected]> | 2017-08-10 18:54:25 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2017-08-21 21:51:00 +0530 |
commit | a63efead7f8eeefcf08e4e7d0b033ac552f7da23 (patch) | |
tree | ffa74d8046933d51f107d2d51854549721d5313c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8e7341750b95b3732ba19e65745edbcb46ee6241 (diff) |
dmaengine: qcom_hidma: avoid freeing an uninitialized pointer
If device_node np doesn't contain child or first child doesn't have
property "reg" then hidma_mgmt_of_populate_channels() perfoms
deallocation on uninitialized local variable res.
The patch adds res initialization by NULL.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <[email protected]>
Reviewed-by: Sinan Kaya <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions