diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-08-19 20:57:23 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-08-19 20:57:23 +0200 |
commit | 5b49ab3e03f68eb49db4bce6290e5707b7f6c6f3 (patch) | |
tree | 090c7c069bc6c0f2b368ed8d0af861c275525411 /drivers/mtd/tests/readtest.c | |
parent | mtd: nand: fix DocBook warnings on nand_sdr_timings doc (diff) | |
parent | mtd: spi-nor: drop jedec_probe /helper/ function (diff) | |
download | linux-5b49ab3e03f68eb49db4bce6290e5707b7f6c6f3.tar.xz linux-5b49ab3e03f68eb49db4bce6290e5707b7f6c6f3.zip |
Merge l2-mtd/next into l2-mtd/master
Diffstat (limited to 'drivers/mtd/tests/readtest.c')
-rw-r--r-- | drivers/mtd/tests/readtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/tests/readtest.c b/drivers/mtd/tests/readtest.c index 626e66d0f7e7..a54cf1511114 100644 --- a/drivers/mtd/tests/readtest.c +++ b/drivers/mtd/tests/readtest.c @@ -47,7 +47,7 @@ static int pgcnt; static int read_eraseblock_by_page(int ebnum) { int i, ret, err = 0; - loff_t addr = ebnum * mtd->erasesize; + loff_t addr = (loff_t)ebnum * mtd->erasesize; void *buf = iobuf; void *oobbuf = iobuf1; |