[PATCH] pcmcia: missing pcmcia_get_socket() result check
authorFlorin Malita <fmalita@gmail.com>
Thu, 25 May 2006 01:21:31 +0000 (21:21 -0400)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 1 Jun 2006 22:56:17 +0000 (00:56 +0200)
commit1617406a763870a84ffe6bba3659f30f96ac4a61
tree8cb1b005e2e0769f8fdefe05eda13c44aad61c36
parentba8f5baba79da8eb502f8534c3a8ecb64aceb790
[PATCH] pcmcia: missing pcmcia_get_socket() result check

The result of pcmcia_get_socket() may be NULL but ds_event() uses it
without checking.

Coverity CID: 436.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ds.c