On Tue, 31 Jul 2018 12:01:01 +0200 Mario Six mario....@gdsys.cc wrote: > ofnode_read_simple_addr_cells may fail and return a negative error code. > Check for this when initializing regmaps. > > Also check if both_len is zero, since this is perfectly possible, and > would lead to a division-by-zero further down the line. > > Signed-off-by: Mario Six <mario....@gdsys.cc>
Reviewed-by: Anatolij Gustschin <ag...@denx.de> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot