Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274943
b: refs/heads/master
c: 19fb434
h: refs/heads/master
i:
  274941: ef8e48a
  274939: caa5477
  274935: 7ba1261
  274927: 425c30c
  274911: 4084cb3
  274879: 3cf0aa4
  274815: 151db13
  274687: aec2d0b
  274431: 6e03995
v: v3
  • Loading branch information
Brian Norris authored and Artem Bityutskiy committed Sep 11, 2011
1 parent f9a1e6f commit a6508ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 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: 4a89ff885ff9f64ea62669100766e10e4e257c6e
refs/heads/master: 19fb4341ad7a72e4c996234a1834e52e1f7954ba
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/mtdchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@ static int mtd_ioctl(struct file *file, u_int cmd, u_long arg)
info.erasesize = mtd->erasesize;
info.writesize = mtd->writesize;
info.oobsize = mtd->oobsize;
/* The below fields are obsolete */
info.ecctype = -1;
/* The below field is obsolete */
info.padding = 0;
if (copy_to_user(argp, &info, sizeof(struct mtd_info_user)))
return -EFAULT;
break;
Expand Down
5 changes: 1 addition & 4 deletions trunk/include/mtd/mtd-abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ struct mtd_info_user {
__u32 erasesize;
__u32 writesize;
__u32 oobsize; /* Amount of OOB data per block (e.g. 16) */
/* The below two fields are obsolete and broken, do not use them
* (TODO: remove at some point) */
__u32 ecctype;
__u32 eccsize;
__u64 padding; /* Old obsolete field; do not use */
};

struct region_info_user {
Expand Down

0 comments on commit a6508ab

Please sign in to comment.