kernel: bump 5.4 to 5.4.132
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 303-core-0007-of-of_reserved_mem-Ensure-cma-reserved-region-not-cr.patch
index 7c385ea525e6ddd95be02c053598e79616f4ba1a..d95d1f0d532732cd68848feb95fb50ed22ee1ce1 100644 (file)
@@ -70,7 +70,7 @@ Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
 +                      ret = early_init_dt_alloc_reserved_memory_arch(node,
 +                                      size, align, start, end, nomap, &base);
                        if (ret == 0) {
-                               pr_debug("allocated memory for '%s' node: base %pa, size %ld MiB\n",
+                               pr_debug("allocated memory for '%s' node: base %pa, size %lu MiB\n",
                                        uname, &base,
 @@ -143,8 +162,8 @@ static int __init __reserved_mem_alloc_s
                }
@@ -81,5 +81,5 @@ Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
 +              ret = early_init_dt_alloc_reserved_memory_arch(node,
 +                                      size, align, 0, 0, nomap, &base);
                if (ret == 0)
-                       pr_debug("allocated memory for '%s' node: base %pa, size %ld MiB\n",
-                               uname, &base, (unsigned long)size / SZ_1M);
+                       pr_debug("allocated memory for '%s' node: base %pa, size %lu MiB\n",
+                               uname, &base, (unsigned long)(size / SZ_1M));