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 branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
rfd_ftl.c
diff --git
a/drivers/mtd/rfd_ftl.c
b/drivers/mtd/rfd_ftl.c
index d60cc6696cbd6cac2778148f7d47c8abce839630..d4b1ba8f23ef40b0dd072fc2c251c46f8f54dc7d 100644
(file)
--- a/
drivers/mtd/rfd_ftl.c
+++ b/
drivers/mtd/rfd_ftl.c
@@
-768,7
+768,7
@@
static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
if (mtd->type != MTD_NORFLASH)
return;
- part = k
calloc(1,
sizeof(struct partition), GFP_KERNEL);
+ part = k
zalloc(
sizeof(struct partition), GFP_KERNEL);
if (!part)
return;