diff options
| -rw-r--r-- | drivers/mtd/ubi/block.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c index c3963f880448..b210fdb31c98 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c | |||
| @@ -383,7 +383,7 @@ int ubiblock_create(struct ubi_volume_info *vi) | |||
| 383 | /* Initialize the gendisk of this ubiblock device */ | 383 | /* Initialize the gendisk of this ubiblock device */ |
| 384 | gd = alloc_disk(1); | 384 | gd = alloc_disk(1); |
| 385 | if (!gd) { | 385 | if (!gd) { |
| 386 | pr_err("UBI: block: alloc_disk failed"); | 386 | pr_err("UBI: block: alloc_disk failed\n"); |
| 387 | ret = -ENODEV; | 387 | ret = -ENODEV; |
| 388 | goto out_free_dev; | 388 | goto out_free_dev; |
| 389 | } | 389 | } |
| @@ -607,7 +607,7 @@ static void __init ubiblock_create_from_param(void) | |||
| 607 | desc = open_volume_desc(p->name, p->ubi_num, p->vol_id); | 607 | desc = open_volume_desc(p->name, p->ubi_num, p->vol_id); |
| 608 | if (IS_ERR(desc)) { | 608 | if (IS_ERR(desc)) { |
| 609 | pr_err( | 609 | pr_err( |
| 610 | "UBI: block: can't open volume on ubi%d_%d, err=%ld", | 610 | "UBI: block: can't open volume on ubi%d_%d, err=%ld\n", |
| 611 | p->ubi_num, p->vol_id, PTR_ERR(desc)); | 611 | p->ubi_num, p->vol_id, PTR_ERR(desc)); |
| 612 | continue; | 612 | continue; |
| 613 | } | 613 | } |
| @@ -618,7 +618,7 @@ static void __init ubiblock_create_from_param(void) | |||
| 618 | ret = ubiblock_create(&vi); | 618 | ret = ubiblock_create(&vi); |
| 619 | if (ret) { | 619 | if (ret) { |
| 620 | pr_err( | 620 | pr_err( |
| 621 | "UBI: block: can't add '%s' volume on ubi%d_%d, err=%d", | 621 | "UBI: block: can't add '%s' volume on ubi%d_%d, err=%d\n", |
| 622 | vi.name, p->ubi_num, p->vol_id, ret); | 622 | vi.name, p->ubi_num, p->vol_id, ret); |
| 623 | continue; | 623 | continue; |
| 624 | } | 624 | } |
