diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-11 23:47:06 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-30 12:51:44 +0300 |
commit | 895fb49459227edbb4a4e5a2b5e9d12c34640f84 (patch) | |
tree | c6d8ce92b3c3a9797bdb8c8196a671402b829f87 /drivers/mtd/maps/vmu-flash.c | |
parent | b2ef1a2bb2eb49cd7c75b22f1ea40ead0bdfdb8a (diff) | |
download | linux-895fb49459227edbb4a4e5a2b5e9d12c34640f84.tar.xz |
mtd: error return -EIO instead of EIO
Return a negative error value instead of a positive
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/vmu-flash.c')
-rw-r--r-- | drivers/mtd/maps/vmu-flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/vmu-flash.c b/drivers/mtd/maps/vmu-flash.c index 1008462c3f7c..82afad0ddd72 100644 --- a/drivers/mtd/maps/vmu-flash.c +++ b/drivers/mtd/maps/vmu-flash.c @@ -620,7 +620,7 @@ static int __devinit vmu_connect(struct maple_device *mdev) card = kmalloc(sizeof(struct memcard), GFP_KERNEL); if (!card) { - error = ENOMEM; + error = -ENOMEM; goto fail_nomem; } |