projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'origin/master'
[firefly-linux-kernel-4.4.55.git]
/
init
/
do_mounts_rd.c
diff --git
a/init/do_mounts_rd.c
b/init/do_mounts_rd.c
index 3ac5904d1b124c1584b0308b0c42712d9a86cc20..46dfd64ae8fb027cf74e1252b91b2919f81a1923 100644
(file)
--- a/
init/do_mounts_rd.c
+++ b/
init/do_mounts_rd.c
@@
-212,7
+212,7
@@
int __init rd_load_image(char *from)
}
buf = kmalloc(BLOCK_SIZE, GFP_KERNEL);
- if (
buf == 0
) {
+ if (
!buf
) {
printk(KERN_ERR "RAMDISK: could not allocate buffer\n");
goto done;
}