mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
8e3457372c
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:
|
||
---|---|---|
.. | ||
master | ||
device.c | ||
internals.h | ||
Kconfig | ||
Makefile | ||
master.c |