Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176945
b: refs/heads/master
c: 895fb49
h: refs/heads/master
i:
  176943: 8c068bf
v: v3
  • Loading branch information
Roel Kluin authored and David Woodhouse committed Nov 30, 2009
1 parent e0c44f8 commit 9140741
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2ef1a2bb2eb49cd7c75b22f1ea40ead0bdfdb8a
refs/heads/master: 895fb49459227edbb4a4e5a2b5e9d12c34640f84
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/maps/physmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int physmap_flash_probe(struct platform_device *dev)
info->map[i].size);
if (info->map[i].virt == NULL) {
dev_err(&dev->dev, "Failed to ioremap flash region\n");
err = EIO;
err = -EIO;
goto err_out;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/maps/vmu-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/nand/atmel_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
if (host->board->det_pin) {
if (gpio_get_value(host->board->det_pin)) {
printk(KERN_INFO "No SmartMedia card inserted.\n");
res = ENXIO;
res = -ENXIO;
goto err_no_card;
}
}
Expand Down Expand Up @@ -534,7 +534,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)

if ((!partitions) || (num_partitions == 0)) {
printk(KERN_ERR "atmel_nand: No partitions defined, or unsupported device.\n");
res = ENXIO;
res = -ENXIO;
goto err_no_partitions;
}

Expand Down

0 comments on commit 9140741

Please sign in to comment.