projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0563f
)
mtd: cfi_util: do not printk if no extended query table
author
Guillaume LECERF
<glecerf@gmail.com>
Sat, 24 Apr 2010 15:58:32 +0000
(17:58 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 14 May 2010 00:39:55 +0000
(
01:39
+0100)
Signed-off-by: Guillaume LECERF <glecerf@gmail.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_util.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/chips/cfi_util.c
b/drivers/mtd/chips/cfi_util.c
index ca584d0380b44a6c6cf798a356894cbe4f630742..d7c2c672757e4695fe9158c31f1a4672428e446b 100644
(file)
--- a/
drivers/mtd/chips/cfi_util.c
+++ b/
drivers/mtd/chips/cfi_util.c
@@
-104,10
+104,11
@@
__xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* n
int i;
struct cfi_extquery *extp = NULL;
- printk(" %s Extended Query Table at 0x%4.4X\n", name, adr);
if (!adr)
goto out;
+ printk(KERN_INFO "%s Extended Query Table at 0x%4.4X\n", name, adr);
+
extp = kmalloc(size, GFP_KERNEL);
if (!extp) {
printk(KERN_ERR "Failed to allocate memory\n");