The code below the return will never be executed.. it seems to me that brackets are missing. int verify_cis_cache(struct pcmcia_socket *s) { struct cis_cache_entry *cis; char *buf; buf = kmalloc(256, GFP_KERNEL); if (buf == NULL) dev_printk(KERN_WARNING, &s->dev, "no memory for verifying CIS\n"); return -ENOMEM;
Thanks for spotting this. Patch e689597fe890cf22e23195037aa668c39b25ae4b (already in pcmcia-git) addresses this issue. *** This bug has been marked as a duplicate of bug 11911 ***