summaryrefslogtreecommitdiff
path: root/drivers/timer
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2015-12-07 01:39:47 -0800
committerBin Meng <[email protected]>2015-12-09 17:44:36 +0800
commita0ae380b3c32254a6462674cfbfdd763d10bca41 (patch)
tree2b1c1926d46bc4fdfdfec75707d55fb701a63a1e /drivers/timer
parent8555dd88cd1a7b5dd1e76c111fe635a92223b98b (diff)
fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE
Currently OF_BAD_ADDR is always -1ULL. When using OF_BAD_ADDR as the return value of dev_get_addr(), it creates potential size mismatch as dev_get_addr() uses FDT_ADDR_T_NONE as the return value which can be either -1U or -1ULL depending on CONFIG_PHYS_64BIT. Now we change OF_BAD_ADDR to FDT_ADDR_T_NONE to avoid such case. Signed-off-by: Bin Meng <[email protected]> Acked-by: Simon Glass <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'drivers/timer')
0 files changed, 0 insertions, 0 deletions