diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2011-10-31 08:54:09 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-01 10:58:08 -0500 |
commit | 3e837b2c05bc63fe2226baf3c29923d5a688593f (patch) | |
tree | 874e0771980608b9ea9645edddeffddceda6889c /libfdt_env.h | |
parent | c2a8238a2c1e37a2ae6d628a2b7bd95d1b5f1a89 (diff) |
Error check find_ram_offset
Spotted via code review, we initialize offset to 0 to avoid a
compiler warning, but in the unlikely case that offset is
never set to something else, we should abort instead of return
a value that will almost certainly cause problems.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'libfdt_env.h')
0 files changed, 0 insertions, 0 deletions