diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-05 12:30:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-05 12:30:28 -0700 |
commit | 364212e0df05efee43d87270b476fc5c9ad2c651 (patch) | |
tree | 4fa80b5ebbb92fe46a836e68c0e4d38f0885e7a6 /drivers/char/pcmcia/cm4000_cs.c | |
parent | fec468b0c9e0a75b89514408e3b35b1576b57071 (diff) | |
parent | 2b0dd802ba1ff9b7001f5f9bd9b4d192a4aabf81 (diff) | |
download | blackbird-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.c | 2 |
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) - \ |