Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c99171f7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cma: use be32_to_cpup for devicetree conversion"

parents 509169ca 6659f8fe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -229,11 +229,11 @@ int __init cma_fdt_scan(unsigned long node, const char *uname,

	prop = of_get_flat_dt_prop(node, "#size-cells", NULL);
	if (prop)
		size_cells = be32_to_cpu(prop);
		size_cells = be32_to_cpup(prop);

	prop = of_get_flat_dt_prop(node, "#address-cells", NULL);
	if (prop)
		addr_cells = be32_to_cpu(prop);
		addr_cells = be32_to_cpup(prop);

	prop = of_get_flat_dt_prop(node, "reg", &len);
	if (!prop || depth != 2)