projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ea440
)
UBI: fix error message
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Mon, 14 Jul 2008 09:57:27 +0000
(12:57 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 24 Jul 2008 10:32:56 +0000
(13:32 +0300)
The ubi_err() macro will add \n.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/gluebi.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/gluebi.c
b/drivers/mtd/ubi/gluebi.c
index
e909b39
..
ae76ab6
100644
(file)
--- a/
drivers/mtd/ubi/gluebi.c
+++ b/
drivers/mtd/ubi/gluebi.c
@@
-299,7
+299,7
@@
int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol)
mtd->size = vol->used_bytes;
if (add_mtd_device(mtd)) {
- ubi_err("cannot not add MTD device
\n
");
+ ubi_err("cannot not add MTD device");
kfree(mtd->name);
return -ENFILE;
}