Commit c44df741 authored by Linus Torvalds's avatar Linus Torvalds
parents 103a1d5c 0e09c863
...@@ -275,7 +275,7 @@ static int readable(struct pcmcia_socket *s, struct resource *res, ...@@ -275,7 +275,7 @@ static int readable(struct pcmcia_socket *s, struct resource *res,
destroy_cis_cache(s); destroy_cis_cache(s);
} }
s->cis_mem.res = NULL; s->cis_mem.res = NULL;
if ((ret != 0) || (count == 0)) if ((ret != 0) || (*count == 0))
return 0; return 0;
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment