commit | 6093a94454dd8f8211a10d4f6426ce35e19c4f0e | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed Oct 11 12:22:40 2017 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Wed Oct 11 15:39:08 2017 -0700 |
tree | cbfee35bc4cb9414d5fc9450641f2245324a5e8b | |
parent | 7cc796771b2557cac326f511cb8be9993290f1b0 [diff] |
gen_kobject_list: fix on ARM targets On ARM, a zero memory address actually falls within the expected bounds of kernel memory. Move the NULL check outside the bounds check, so that kernel objects with NULL memory addresses in the DWARF info (because gc-sections discarded them) won't confound the script's logic. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>