diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2013-04-08 14:32:49 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-11 23:52:54 +0400 |
commit | 147162dac6506d2ed96ba5869772f87fb1f49a0b (patch) | |
tree | 3e66f772f3fc039e31831cb951758487228740ef /drivers/mtd/ubi | |
parent | 70c219cd7ceba104c2cc87940bb2f688b4b0a752 (diff) | |
download | u-boot-147162dac6506d2ed96ba5869772f87fb1f49a0b.tar.xz |
ubi: ubifs: Turn off verbose prints
The prints are out of control. SILENCE!
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 14c3a5f76c..044e849907 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h @@ -59,7 +59,11 @@ #define UBI_NAME_STR "ubi" /* Normal UBI messages */ +#ifdef CONFIG_UBI_SILENCE_MSG +#define ubi_msg(fmt, ...) +#else #define ubi_msg(fmt, ...) printk(KERN_NOTICE "UBI: " fmt "\n", ##__VA_ARGS__) +#endif /* UBI warning messages */ #define ubi_warn(fmt, ...) printk(KERN_WARNING "UBI warning: %s: " fmt "\n", \ __func__, ##__VA_ARGS__) |