summaryrefslogtreecommitdiff
path: root/common/devices.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2006-10-10 00:23:32 -0600
committerJon Loeliger <jdl@freescale.com>2006-10-12 08:42:03 -0500
commit1eaf3a5ff4960a46f3a9063568ba2af7883f07c5 (patch)
tree54b83be5f801444cb8c29789e43a058fbd4ee691 /common/devices.c
parentc3c3b089adcee06df3afd4e8b00a3fea82263bcd (diff)
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: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'common/devices.c')
0 files changed, 0 insertions, 0 deletions