From: Greg Kroah-Hartman Date: Wed, 24 May 2017 15:06:50 +0000 (+0200) Subject: fix up build warning in queue-3.18/of-fdt-add-missing-allocation-failure-check.patch X-Git-Tag: v3.18.55~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7141e0d5fd6f6c189d2fe0aba3b3350de5524c49;p=thirdparty%2Fkernel%2Fstable-queue.git fix up build warning in queue-3.18/of-fdt-add-missing-allocation-failure-check.patch --- diff --git a/queue-3.18/of-fdt-add-missing-allocation-failure-check.patch b/queue-3.18/of-fdt-add-missing-allocation-failure-check.patch index 3773082e919..370f7a0ae19 100644 --- a/queue-3.18/of-fdt-add-missing-allocation-failure-check.patch +++ b/queue-3.18/of-fdt-add-missing-allocation-failure-check.patch @@ -27,7 +27,7 @@ Signed-off-by: Greg Kroah-Hartman /* Allocate memory for the expanded device tree */ mem = dt_alloc(size + 4, __alignof__(struct device_node)); + if (!mem) -+ return NULL; ++ return; + memset(mem, 0, size);