aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/attach.c')
-rw-r--r--drivers/mtd/ubi/attach.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c
index d8e92b6a33f6..e1d90683e357 100644
--- a/drivers/mtd/ubi/attach.c
+++ b/drivers/mtd/ubi/attach.c
@@ -1074,10 +1074,10 @@ static int late_analysis(struct ubi_device *ubi, struct ubi_attach_info *ai)
1074 if (ai->corr_peb_count) { 1074 if (ai->corr_peb_count) {
1075 ubi_err("%d PEBs are corrupted and preserved", 1075 ubi_err("%d PEBs are corrupted and preserved",
1076 ai->corr_peb_count); 1076 ai->corr_peb_count);
1077 printk(KERN_ERR "Corrupted PEBs are:"); 1077 pr_err("Corrupted PEBs are:");
1078 list_for_each_entry(aeb, &ai->corr, u.list) 1078 list_for_each_entry(aeb, &ai->corr, u.list)
1079 printk(KERN_CONT " %d", aeb->pnum); 1079 pr_cont(" %d", aeb->pnum);
1080 printk(KERN_CONT "\n"); 1080 pr_cont("\n");
1081 1081
1082 /* 1082 /*
1083 * If too many PEBs are corrupted, we refuse attaching, 1083 * If too many PEBs are corrupted, we refuse attaching,