summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/cm4000_cs.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-06-05 12:30:28 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-05 12:30:28 -0700
commit364212e0df05efee43d87270b476fc5c9ad2c651 (patch)
tree4fa80b5ebbb92fe46a836e68c0e4d38f0885e7a6 /drivers/char/pcmcia/cm4000_cs.c
parentfec468b0c9e0a75b89514408e3b35b1576b57071 (diff)
parent2b0dd802ba1ff9b7001f5f9bd9b4d192a4aabf81 (diff)
downloadblackbird-obmc-linux-364212e0df05efee43d87270b476fc5c9ad2c651.tar.gz
blackbird-obmc-linux-364212e0df05efee43d87270b476fc5c9ad2c651.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6: [PATCH] pcmcia: fix zeroing of cm4000_cs.c data [PATCH] pcmcia: missing pcmcia_get_socket() result check
Diffstat (limited to 'drivers/char/pcmcia/cm4000_cs.c')
-rw-r--r--drivers/char/pcmcia/cm4000_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c
index 128b2632512d..eab5394da666 100644
--- a/drivers/char/pcmcia/cm4000_cs.c
+++ b/drivers/char/pcmcia/cm4000_cs.c
@@ -149,7 +149,7 @@ struct cm4000_dev {
#define ZERO_DEV(dev) \
memset(&dev->atr_csum,0, \
sizeof(struct cm4000_dev) - \
- /*link*/ sizeof(struct pcmcia_device) - \
+ /*link*/ sizeof(struct pcmcia_device *) - \
/*node*/ sizeof(dev_node_t) - \
/*atr*/ MAX_ATR*sizeof(char) - \
/*rbuf*/ 512*sizeof(char) - \
OpenPOWER on IntegriCloud