summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-10-14 11:57:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-30 16:53:16 +0200
commite71c34366808bbe3ce0b166d8710749513af6d81 (patch)
treef31327dd33e5b8024bac037d50ad82fffb8f61d1 /include
parent1a5503118a95a0080ed93b07a996282cc54ce595 (diff)
downloadbarebox-e71c34366808bbe3ce0b166d8710749513af6d81.tar.gz
barebox-e71c34366808bbe3ce0b166d8710749513af6d81.tar.xz
mtd: fix arguments to bad block ioctls
In the Kernel the mtd ioctls expect a pointer to the offset, whereas barebox interprets the pointer itself as an offset. Since we want to add 64bit support for file sizes a pointer may not be sufficient, so align with the kernel and convert it to a pointer to the offset. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions