Commit e689597f authored by Dominik Brodowski's avatar Dominik Brodowski

pcmcia: add braces in error path

Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 25096986
...@@ -351,10 +351,11 @@ int verify_cis_cache(struct pcmcia_socket *s) ...@@ -351,10 +351,11 @@ int verify_cis_cache(struct pcmcia_socket *s)
char *buf; char *buf;
buf = kmalloc(256, GFP_KERNEL); buf = kmalloc(256, GFP_KERNEL);
if (buf == NULL) if (buf == NULL) {
dev_printk(KERN_WARNING, &s->dev, dev_printk(KERN_WARNING, &s->dev,
"no memory for verifying CIS\n"); "no memory for verifying CIS\n");
return -ENOMEM; return -ENOMEM;
}
list_for_each_entry(cis, &s->cis_cache, node) { list_for_each_entry(cis, &s->cis_cache, node) {
int len = cis->len; int len = cis->len;
......
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