Masahiro Yamada 3f5ceec964 of/fdt: fix error checking for earlycon address
fdt_translate_address() returns OF_BAD_ADDR on error.  It is defined as
a u64 value, so the variable "addr" should be defined as u64 as well.

Fixes: fb11ffe74c79 ("of/fdt: add FDT serial scanning for earlycon")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-10-27 15:52:29 -05:00
..
2015-07-01 19:40:18 -07:00
2015-06-05 10:39:28 +09:00
2015-10-22 09:26:32 -05:00
2015-10-22 09:35:51 -05:00
2014-11-04 13:29:38 +00:00