diff options
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r-- | drivers/mtd/ubi/scan.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c index 0bb7488862d2..4dfbf27b0656 100644 --- a/drivers/mtd/ubi/scan.c +++ b/drivers/mtd/ubi/scan.c | |||
@@ -93,8 +93,7 @@ static int add_to_list(struct ubi_scan_info *si, int pnum, int ec, | |||
93 | } | 93 | } |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * validate_vid_hdr - check that volume identifier header is correct and | 96 | * validate_vid_hdr - check volume identifier header. |
97 | * consistent. | ||
98 | * @vid_hdr: the volume identifier header to check | 97 | * @vid_hdr: the volume identifier header to check |
99 | * @sv: information about the volume this logical eraseblock belongs to | 98 | * @sv: information about the volume this logical eraseblock belongs to |
100 | * @pnum: physical eraseblock number the VID header came from | 99 | * @pnum: physical eraseblock number the VID header came from |
@@ -380,8 +379,7 @@ out_free_vidh: | |||
380 | } | 379 | } |
381 | 380 | ||
382 | /** | 381 | /** |
383 | * ubi_scan_add_used - add information about a physical eraseblock to the | 382 | * ubi_scan_add_used - add physical eraseblock to the scanning information. |
384 | * scanning information. | ||
385 | * @ubi: UBI device description object | 383 | * @ubi: UBI device description object |
386 | * @si: scanning information | 384 | * @si: scanning information |
387 | * @pnum: the physical eraseblock number | 385 | * @pnum: the physical eraseblock number |
@@ -555,8 +553,7 @@ int ubi_scan_add_used(struct ubi_device *ubi, struct ubi_scan_info *si, | |||
555 | } | 553 | } |
556 | 554 | ||
557 | /** | 555 | /** |
558 | * ubi_scan_find_sv - find information about a particular volume in the | 556 | * ubi_scan_find_sv - find volume in the scanning information. |
559 | * scanning information. | ||
560 | * @si: scanning information | 557 | * @si: scanning information |
561 | * @vol_id: the requested volume ID | 558 | * @vol_id: the requested volume ID |
562 | * | 559 | * |
@@ -585,8 +582,7 @@ struct ubi_scan_volume *ubi_scan_find_sv(const struct ubi_scan_info *si, | |||
585 | } | 582 | } |
586 | 583 | ||
587 | /** | 584 | /** |
588 | * ubi_scan_find_seb - find information about a particular logical | 585 | * ubi_scan_find_seb - find LEB in the volume scanning information. |
589 | * eraseblock in the volume scanning information. | ||
590 | * @sv: a pointer to the volume scanning information | 586 | * @sv: a pointer to the volume scanning information |
591 | * @lnum: the requested logical eraseblock | 587 | * @lnum: the requested logical eraseblock |
592 | * | 588 | * |
@@ -744,8 +740,7 @@ struct ubi_scan_leb *ubi_scan_get_free_peb(struct ubi_device *ubi, | |||
744 | } | 740 | } |
745 | 741 | ||
746 | /** | 742 | /** |
747 | * process_eb - read UBI headers, check them and add corresponding data | 743 | * process_eb - read, check UBI headers, and add them to scanning information. |
748 | * to the scanning information. | ||
749 | * @ubi: UBI device description object | 744 | * @ubi: UBI device description object |
750 | * @si: scanning information | 745 | * @si: scanning information |
751 | * @pnum: the physical eraseblock number | 746 | * @pnum: the physical eraseblock number |
@@ -1083,8 +1078,7 @@ void ubi_scan_destroy_si(struct ubi_scan_info *si) | |||
1083 | #ifdef CONFIG_MTD_UBI_DEBUG_PARANOID | 1078 | #ifdef CONFIG_MTD_UBI_DEBUG_PARANOID |
1084 | 1079 | ||
1085 | /** | 1080 | /** |
1086 | * paranoid_check_si - check if the scanning information is correct and | 1081 | * paranoid_check_si - check the scanning information. |
1087 | * consistent. | ||
1088 | * @ubi: UBI device description object | 1082 | * @ubi: UBI device description object |
1089 | * @si: scanning information | 1083 | * @si: scanning information |
1090 | * | 1084 | * |