Skip to content
Snippets Groups Projects
Commit 1eaf3a5f authored by Grant Likely's avatar Grant Likely Committed by Jon Loeliger
Browse files

Fix possible uninitialized variable compiler warning.


When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in
do_bootm_linux() may be uninitialized.  There is no possibility in the
current code that len will get used uninitialized, but this fix follows
the existing convention of setting both len and data to zero at the same
time.

Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent c3c3b089
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment