git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: fdt: Fix return with value in void function
[pandora-kernel.git]
/
drivers
/
of
/
fdt.c
diff --git
a/drivers/of/fdt.c
b/drivers/of/fdt.c
index
29f121e
..
a84c03c
100644
(file)
--- a/
drivers/of/fdt.c
+++ b/
drivers/of/fdt.c
@@
-389,7
+389,7
@@
static void __unflatten_device_tree(struct boot_param_header *blob,
mem = (unsigned long)
dt_alloc(size + 4, __alignof__(struct device_node));
if (!mem)
- return
NULL
;
+ return;
memset((void *)mem, 0, size);