summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap3-git/omap3evm/no-empty-flash-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap3-git/omap3evm/no-empty-flash-warnings.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap3-git/omap3evm/no-empty-flash-warnings.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap3-git/omap3evm/no-empty-flash-warnings.patch b/meta/recipes-kernel/linux/linux-omap3-git/omap3evm/no-empty-flash-warnings.patch
new file mode 100644
index 0000000000..ab344b0449
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap3-git/omap3evm/no-empty-flash-warnings.patch
@@ -0,0 +1,15 @@
1diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
2index 1d437de..33b3feb 100644
3--- a/fs/jffs2/scan.c
4+++ b/fs/jffs2/scan.c
5@@ -647,8 +647,8 @@ scan_more:
6 inbuf_ofs = ofs - buf_ofs;
7 while (inbuf_ofs < scan_end) {
8 if (unlikely(*(uint32_t *)(&buf[inbuf_ofs]) != 0xffffffff)) {
9- printk(KERN_WARNING "Empty flash at 0x%08x ends at 0x%08x\n",
10- empty_start, ofs);
11+// printk(KERN_WARNING "Empty flash at 0x%08x ends at 0x%08x\n",
12+// empty_start, ofs);
13 if ((err = jffs2_scan_dirty_space(c, jeb, ofs-empty_start)))
14 return err;
15 goto scan_more;