[Bug 11992] New: [drivers/pcmcia/cistpl.c:357]: Unreachable code
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Sun Nov 9 02:45:45 EST 2008
http://bugzilla.kernel.org/show_bug.cgi?id=11992
Summary: [drivers/pcmcia/cistpl.c:357]: Unreachable code
Product: Drivers
Version: 2.5
KernelVersion: latest git tree
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PCMCIA
AssignedTo: linux-pcmcia at lists.infradead.org
ReportedBy: danielm77 at spray.se
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;
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the linux-pcmcia
mailing list