Commit 718c00bb authored by Artem Bityutskiy's avatar Artem Bityutskiy

UBI: rename ubi_dbg_dump_mkvol_req

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_mkvol_req()' to 'ubi_dump_mkvol_req()'.
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent b989bd4c
...@@ -644,7 +644,7 @@ static int verify_mkvol_req(const struct ubi_device *ubi, ...@@ -644,7 +644,7 @@ static int verify_mkvol_req(const struct ubi_device *ubi,
bad: bad:
dbg_err("bad volume creation request"); dbg_err("bad volume creation request");
ubi_dbg_dump_mkvol_req(req); ubi_dump_mkvol_req(req);
return err; return err;
} }
......
...@@ -207,10 +207,10 @@ void ubi_dump_seb(const struct ubi_scan_leb *seb, int type) ...@@ -207,10 +207,10 @@ void ubi_dump_seb(const struct ubi_scan_leb *seb, int type)
} }
/** /**
* ubi_dbg_dump_mkvol_req - dump a &struct ubi_mkvol_req object. * ubi_dump_mkvol_req - dump a &struct ubi_mkvol_req object.
* @req: the object to dump * @req: the object to dump
*/ */
void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req) void ubi_dump_mkvol_req(const struct ubi_mkvol_req *req)
{ {
char nm[17]; char nm[17];
......
...@@ -64,7 +64,7 @@ void ubi_dump_vol_info(const struct ubi_volume *vol); ...@@ -64,7 +64,7 @@ void ubi_dump_vol_info(const struct ubi_volume *vol);
void ubi_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx); void ubi_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx);
void ubi_dump_sv(const struct ubi_scan_volume *sv); void ubi_dump_sv(const struct ubi_scan_volume *sv);
void ubi_dump_seb(const struct ubi_scan_leb *seb, int type); void ubi_dump_seb(const struct ubi_scan_leb *seb, int type);
void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req); void ubi_dump_mkvol_req(const struct ubi_mkvol_req *req);
int ubi_dbg_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len); int ubi_dbg_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len);
int ubi_dbg_check_write(struct ubi_device *ubi, const void *buf, int pnum, int ubi_dbg_check_write(struct ubi_device *ubi, const void *buf, int pnum,
int offset, int len); int offset, int len);
...@@ -201,7 +201,7 @@ static inline void ubi_dump_sv(const struct ubi_scan_volume *sv) { return; } ...@@ -201,7 +201,7 @@ static inline void ubi_dump_sv(const struct ubi_scan_volume *sv) { return; }
static inline void ubi_dump_seb(const struct ubi_scan_leb *seb, static inline void ubi_dump_seb(const struct ubi_scan_leb *seb,
int type) { return; } int type) { return; }
static inline void static inline void
ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req) { return; } ubi_dump_mkvol_req(const struct ubi_mkvol_req *req) { return; }
static inline void static inline void
ubi_dbg_print_hex_dump(const char *l, const char *ps, int pt, int r, ubi_dbg_print_hex_dump(const char *l, const char *ps, int pt, int r,
int g, const void *b, size_t len, bool a) { return; } int g, const void *b, size_t len, bool a) { return; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment