[PATCH] pcmcia: fix ioctl GET_CONFIGURATION_INFO for pcmcia_cards
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Sun, 30 Jul 2006 10:03:49 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:41 +0000 (13:28 -0700)
commit47a31976cadb9a2d25a2896762cb0e678470a29b
tree750eb8379b57bbcbba5b0e330b686482d4141ccc
parentf47ad214926b1dbcc591fd71562e36f1529936b5
[PATCH] pcmcia: fix ioctl GET_CONFIGURATION_INFO for pcmcia_cards

Values displayed when by cardctl config are horribly wrong for 16bit cards.
 this fixes it up by not using memcpy() since source and target struct are
very different.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/pcmcia_resource.c