diff options
author | Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> | 2012-05-17 01:26:24 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:26:02 -0400 |
commit | 2c5ec5ce66c0170829c5c128b9235429936442ac (patch) | |
tree | 7010d8c62bcad3ce725096971cebdcd0289cd648 /drivers/mtd/ubi/debug.c | |
parent | 55e93e55aaa9c38e45767bf3c963d03082f28978 (diff) |
UBI: rename seb to aeb
After re-naming the 'struct ubi_scan_leb' we should adjust all variables
named 'seb' to something else, because 'seb' stands for "scanning eraseblock".
Let's rename it to 'aeb' which stands for "attaching eraseblock" which is
a bit more consistend and has the same length.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
-rw-r--r-- | drivers/mtd/ubi/debug.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c index 4885fd2526bb..e73b1fef897d 100644 --- a/drivers/mtd/ubi/debug.c +++ b/drivers/mtd/ubi/debug.c | |||
@@ -188,19 +188,19 @@ void ubi_dump_sv(const struct ubi_ainf_volume *sv) | |||
188 | } | 188 | } |
189 | 189 | ||
190 | /** | 190 | /** |
191 | * ubi_dump_seb - dump a &struct ubi_ainf_peb object. | 191 | * ubi_dump_aeb - dump a &struct ubi_ainf_peb object. |
192 | * @seb: the object to dump | 192 | * @aeb: the object to dump |
193 | * @type: object type: 0 - not corrupted, 1 - corrupted | 193 | * @type: object type: 0 - not corrupted, 1 - corrupted |
194 | */ | 194 | */ |
195 | void ubi_dump_seb(const struct ubi_ainf_peb *seb, int type) | 195 | void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type) |
196 | { | 196 | { |
197 | printk(KERN_DEBUG "eraseblock scanning information dump:\n"); | 197 | printk(KERN_DEBUG "eraseblock scanning information dump:\n"); |
198 | printk(KERN_DEBUG "\tec %d\n", seb->ec); | 198 | printk(KERN_DEBUG "\tec %d\n", aeb->ec); |
199 | printk(KERN_DEBUG "\tpnum %d\n", seb->pnum); | 199 | printk(KERN_DEBUG "\tpnum %d\n", aeb->pnum); |
200 | if (type == 0) { | 200 | if (type == 0) { |
201 | printk(KERN_DEBUG "\tlnum %d\n", seb->lnum); | 201 | printk(KERN_DEBUG "\tlnum %d\n", aeb->lnum); |
202 | printk(KERN_DEBUG "\tscrub %d\n", seb->scrub); | 202 | printk(KERN_DEBUG "\tscrub %d\n", aeb->scrub); |
203 | printk(KERN_DEBUG "\tsqnum %llu\n", seb->sqnum); | 203 | printk(KERN_DEBUG "\tsqnum %llu\n", aeb->sqnum); |
204 | } | 204 | } |
205 | } | 205 | } |
206 | 206 | ||