Loading drivers/mtd/ubi/scan.c +3 −3 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ out_free: } /** * ubi_scan_get_free_peb - get a free physical eraseblock. * ubi_early_get_peb - get a free physical eraseblock. * @ubi: UBI device description object * @ai: attaching information * Loading @@ -695,7 +695,7 @@ out_free: * This function returns scanning physical eraseblock information in case of * success and an error code in case of failure. */ struct ubi_ainf_peb *ubi_scan_get_free_peb(struct ubi_device *ubi, struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi, struct ubi_attach_info *ai) { int err = 0; Loading drivers/mtd/ubi/scan.h +2 −2 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, int vol_id); void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av); struct ubi_ainf_peb *ubi_scan_get_free_peb(struct ubi_device *ubi, struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi, struct ubi_attach_info *ai); struct ubi_attach_info *ubi_scan(struct ubi_device *ubi); void ubi_scan_destroy_ai(struct ubi_attach_info *ai); Loading drivers/mtd/ubi/vtbl.c +1 −1 Original line number Diff line number Diff line Loading @@ -312,7 +312,7 @@ static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, return -ENOMEM; retry: new_aeb = ubi_scan_get_free_peb(ubi, ai); new_aeb = ubi_early_get_peb(ubi, ai); if (IS_ERR(new_aeb)) { err = PTR_ERR(new_aeb); goto out_free; Loading Loading
drivers/mtd/ubi/scan.c +3 −3 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ out_free: } /** * ubi_scan_get_free_peb - get a free physical eraseblock. * ubi_early_get_peb - get a free physical eraseblock. * @ubi: UBI device description object * @ai: attaching information * Loading @@ -695,7 +695,7 @@ out_free: * This function returns scanning physical eraseblock information in case of * success and an error code in case of failure. */ struct ubi_ainf_peb *ubi_scan_get_free_peb(struct ubi_device *ubi, struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi, struct ubi_attach_info *ai) { int err = 0; Loading
drivers/mtd/ubi/scan.h +2 −2 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, int vol_id); void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av); struct ubi_ainf_peb *ubi_scan_get_free_peb(struct ubi_device *ubi, struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi, struct ubi_attach_info *ai); struct ubi_attach_info *ubi_scan(struct ubi_device *ubi); void ubi_scan_destroy_ai(struct ubi_attach_info *ai); Loading
drivers/mtd/ubi/vtbl.c +1 −1 Original line number Diff line number Diff line Loading @@ -312,7 +312,7 @@ static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, return -ENOMEM; retry: new_aeb = ubi_scan_get_free_peb(ubi, ai); new_aeb = ubi_early_get_peb(ubi, ai); if (IS_ERR(new_aeb)) { err = PTR_ERR(new_aeb); goto out_free; Loading