diff options
author | Thomas Gleixner | 2015-10-13 19:00:14 +0200 |
---|---|---|
committer | Thomas Gleixner | 2015-10-13 19:00:14 +0200 |
commit | e50226b4b86755e65aef2129e94d952fee3df722 (patch) | |
tree | d4dd925fc7f5c6fe46b647c8027911190595f014 /drivers/mtd/nand/mxc_nand.c | |
parent | genirq: Add flag to force mask in disable_irq[_nosync]() (diff) | |
parent | Linux 4.3-rc5 (diff) | |
download | kernel-qcow2-linux-e50226b4b86755e65aef2129e94d952fee3df722.tar.gz kernel-qcow2-linux-e50226b4b86755e65aef2129e94d952fee3df722.tar.xz kernel-qcow2-linux-e50226b4b86755e65aef2129e94d952fee3df722.zip |
Merge branch 'linus' into irq/core
Bring in upstream updates for patches which depend on them
Diffstat (limited to 'drivers/mtd/nand/mxc_nand.c')
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 2426db88db36..f04445b992f5 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -879,7 +879,7 @@ static void copy_spare(struct mtd_info *mtd, bool bfrom) oob_chunk_size); /* the last chunk */ - memcpy16_toio(&s[oob_chunk_size * sparebuf_size], + memcpy16_toio(&s[i * sparebuf_size], &d[i * oob_chunk_size], host->used_oobsize - i * oob_chunk_size); } |