diff options
author | Ricard Wanderlöf <ricard.wanderlof@axis.com> | 2006-10-17 17:27:11 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 16:33:17 +0100 |
commit | d25ade71ef80e6312b3e0b53583db518ebb11798 (patch) | |
tree | d7813968fe4475804935e7dca3d8c58388c38785 /drivers/dma | |
parent | 42cb1403af8a755b3dfebeb9d2a5f73bc48832a1 (diff) |
[MTD] mtdchar: Fix MEMGETOOBSEL and ECCGETLAYOUT ioctls
1. The ECCGETLAYOUT ioctl copy_to_user() call has a superfluous '&'
causing the resulting information to be garbage rather than the intended
mtd->ecclayout.
2. The MEMGETOOBSEL misses copying mtd->ecclayout->eccbytes so the
resulting field of the returned structure contains garbage.
Signed-off-by: Ricard Wanderlöf <ricardw@axis.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions