diff options
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r-- | drivers/mtd/ubi/cdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index 540d2db492ee..dfcc65b33e99 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c | |||
@@ -754,7 +754,7 @@ static int rename_volumes(struct ubi_device *ubi, | |||
754 | re->new_name_len = name_len; | 754 | re->new_name_len = name_len; |
755 | memcpy(re->new_name, name, name_len); | 755 | memcpy(re->new_name, name, name_len); |
756 | list_add_tail(&re->list, &rename_list); | 756 | list_add_tail(&re->list, &rename_list); |
757 | dbg_msg("will rename volume %d from \"%s\" to \"%s\"", | 757 | dbg_gen("will rename volume %d from \"%s\" to \"%s\"", |
758 | vol_id, re->desc->vol->name, name); | 758 | vol_id, re->desc->vol->name, name); |
759 | } | 759 | } |
760 | 760 | ||
@@ -812,7 +812,7 @@ static int rename_volumes(struct ubi_device *ubi, | |||
812 | re1->remove = 1; | 812 | re1->remove = 1; |
813 | re1->desc = desc; | 813 | re1->desc = desc; |
814 | list_add(&re1->list, &rename_list); | 814 | list_add(&re1->list, &rename_list); |
815 | dbg_msg("will remove volume %d, name \"%s\"", | 815 | dbg_gen("will remove volume %d, name \"%s\"", |
816 | re1->desc->vol->vol_id, re1->desc->vol->name); | 816 | re1->desc->vol->vol_id, re1->desc->vol->name); |
817 | } | 817 | } |
818 | 818 | ||
@@ -943,7 +943,7 @@ static long ubi_cdev_ioctl(struct file *file, unsigned int cmd, | |||
943 | { | 943 | { |
944 | struct ubi_rnvol_req *req; | 944 | struct ubi_rnvol_req *req; |
945 | 945 | ||
946 | dbg_msg("re-name volumes"); | 946 | dbg_gen("re-name volumes"); |
947 | req = kmalloc(sizeof(struct ubi_rnvol_req), GFP_KERNEL); | 947 | req = kmalloc(sizeof(struct ubi_rnvol_req), GFP_KERNEL); |
948 | if (!req) { | 948 | if (!req) { |
949 | err = -ENOMEM; | 949 | err = -ENOMEM; |