diff options
author | Colin Ian King <[email protected]> | 2020-11-24 12:35:04 +0000 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2020-11-25 11:02:43 +0100 |
commit | 8e3457372c6acd0a9310373de203c2a84b457418 (patch) | |
tree | da4acda4b8d9182c9b6d35fe76da6943e148b10d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9ad9a52cce2828d932ae9495181e3d6414f72c07 (diff) |
i3c/master: Fix uninitialized variable next_addr
The variable next_addr is not initialized and is being used in a call
to i3c_master_get_free_addr as a starting point to find the next address.
Fix this by initializing next_addr to 0 to avoid an uninitialized garbage
starting address from being used.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 9ad9a52cce28 ("i3c/master: introduce the mipi-i3c-hci driver")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: https://lore.kernel.org/linux-i3c/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions