Fix Sparse warnings about using plain integer as NULL pointer

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-09-21 18:11:34 +00:00
parent 52d946208e
commit b9d38e9510
16 changed files with 43 additions and 43 deletions

View file

@ -193,8 +193,8 @@ int pxa2xx_pcmcia_dettach(void *opaque)
return -ENOENT;
s->card->detach(s->card->state);
s->card->slot = 0;
s->card = 0;
s->card->slot = NULL;
s->card = NULL;
s->slot.attached = 0;