aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-16 10:59:36 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:25:59 -0400
commit614c74a75c60602f2a524c86650b576b14883fd5 (patch)
tree2215482eb50c79816b181c0aba42884f754f401f /drivers/mtd/ubi/scan.c
parent1f021e1de56f79cb4575b14f9ebf1ffb9dc9db0b (diff)
UBI: rename ubi_dbg_dump_sv
I am going to remove the "UBI debugging" compilation option and make the debugging stuff to be always compiled it. This patch is a preparation which renames 'ubi_dbg_dump_sv()' to 'ubi_dump_sv()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r--drivers/mtd/ubi/scan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c
index c26b1add508d..23f7ad2d7089 100644
--- a/drivers/mtd/ubi/scan.c
+++ b/drivers/mtd/ubi/scan.c
@@ -231,7 +231,7 @@ static int validate_vid_hdr(const struct ubi_vid_hdr *vid_hdr,
231bad: 231bad:
232 ubi_err("inconsistent VID header at PEB %d", pnum); 232 ubi_err("inconsistent VID header at PEB %d", pnum);
233 ubi_dump_vid_hdr(vid_hdr); 233 ubi_dump_vid_hdr(vid_hdr);
234 ubi_dbg_dump_sv(sv); 234 ubi_dump_sv(sv);
235 return -EINVAL; 235 return -EINVAL;
236} 236}
237 237
@@ -1584,17 +1584,17 @@ static int paranoid_check_si(struct ubi_device *ubi, struct ubi_scan_info *si)
1584bad_seb: 1584bad_seb:
1585 ubi_err("bad scanning information about LEB %d", seb->lnum); 1585 ubi_err("bad scanning information about LEB %d", seb->lnum);
1586 ubi_dbg_dump_seb(seb, 0); 1586 ubi_dbg_dump_seb(seb, 0);
1587 ubi_dbg_dump_sv(sv); 1587 ubi_dump_sv(sv);
1588 goto out; 1588 goto out;
1589 1589
1590bad_sv: 1590bad_sv:
1591 ubi_err("bad scanning information about volume %d", sv->vol_id); 1591 ubi_err("bad scanning information about volume %d", sv->vol_id);
1592 ubi_dbg_dump_sv(sv); 1592 ubi_dump_sv(sv);
1593 goto out; 1593 goto out;
1594 1594
1595bad_vid_hdr: 1595bad_vid_hdr:
1596 ubi_err("bad scanning information about volume %d", sv->vol_id); 1596 ubi_err("bad scanning information about volume %d", sv->vol_id);
1597 ubi_dbg_dump_sv(sv); 1597 ubi_dump_sv(sv);
1598 ubi_dump_vid_hdr(vidh); 1598 ubi_dump_vid_hdr(vidh);
1599 1599
1600out: 1600out: