/* returns: 0 on success Negative error code on failure  */
static int overlay_update_local_references(void *fdto, uint32_t delta)
/* returns: 0 on success Negative error code on failure  */
static int overlay_update_local_references(void *fdto, uint32_t delta)
{
	int fixups;
	fixups = fdt_path_offset(fdto, "/__local_fixups__");
	if (fixups < 0) {
		if (fixups == -FDT_ERR_NOTFOUND)
			return 0;
		return fixups;
	}
	return overlay_update_local_node_references(fdto, 0, fixups,
						    delta);
}