Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93007
b: refs/heads/master
c: 0bc88c5
h: refs/heads/master
i:
  93005: b33d3f0
  93003: 6f9697d
  92999: 75598b5
  92991: 24cbfcf
v: v3
  • Loading branch information
Stephane Chazelas authored and David Woodhouse committed Apr 22, 2008
1 parent 89f95be commit b5b8eda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 25dc30b4cd68df1de8932fe77ca574227d42a259
refs/heads/master: 0bc88c59cc2f031a38ad5902d5764497549217c5
10 changes: 5 additions & 5 deletions trunk/drivers/mtd/devices/block2mtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size)
}
list_add(&dev->list, &blkmtd_device_list);
INFO("mtd%d: [%s] erase_size = %dKiB [%d]", dev->mtd.index,
dev->mtd.name + strlen("blkmtd: "),
dev->mtd.name + strlen("block2mtd: "),
dev->mtd.erasesize >> 10, dev->mtd.erasesize);
return dev;

Expand Down Expand Up @@ -366,9 +366,9 @@ static inline void kill_final_newline(char *str)
}


#define parse_err(fmt, args...) do { \
ERROR("block2mtd: " fmt "\n", ## args); \
return 0; \
#define parse_err(fmt, args...) do { \
ERROR(fmt, ## args); \
return 0; \
} while (0)

#ifndef MODULE
Expand Down Expand Up @@ -473,7 +473,7 @@ static void __devexit block2mtd_exit(void)
block2mtd_sync(&dev->mtd);
del_mtd_device(&dev->mtd);
INFO("mtd%d: [%s] removed", dev->mtd.index,
dev->mtd.name + strlen("blkmtd: "));
dev->mtd.name + strlen("block2mtd: "));
list_del(&dev->list);
block2mtd_free_device(dev);
}
Expand Down

0 comments on commit b5b8eda

Please sign in to comment.