OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa274e
)
UBI: silence warning
author
S.Çağlar Onur
<caglar@pardus.org.tr>
Tue, 12 Feb 2008 11:25:06 +0000
(13:25 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 4 Mar 2008 09:02:04 +0000
(11:02 +0200)
drivers/mtd/ubi/vmt.c: In function `ubi_create_volume':
drivers/mtd/ubi/vmt.c:379: warning: statement with no effect
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/vmt.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/vmt.c
b/drivers/mtd/ubi/vmt.c
index
a3ca225
..
5be58d8
100644
(file)
--- a/
drivers/mtd/ubi/vmt.c
+++ b/
drivers/mtd/ubi/vmt.c
@@
-376,7
+376,9
@@
out_sysfs:
get_device(&vol->dev);
volume_sysfs_close(vol);
out_gluebi:
- ubi_destroy_gluebi(vol);
+ if (ubi_destroy_gluebi(vol))
+ dbg_err("cannot destroy gluebi for volume %d:%d",
+ ubi->ubi_num, vol_id);
out_cdev:
cdev_del(&vol->cdev);
out_mapping: