
1 Aug
2018
1 Aug
'18
11:26 p.m.
On Tue, 31 Jul 2018 12:01:01 +0200 Mario Six mario.six@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.six@gdsys.cc
Reviewed-by: Anatolij Gustschin agust@denx.de