Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e689597f authored by Dominik Brodowski's avatar Dominik Brodowski
Browse files

pcmcia: add braces in error path

parent 25096986
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -351,10 +351,11 @@ int verify_cis_cache(struct pcmcia_socket *s)
	char *buf;

	buf = kmalloc(256, GFP_KERNEL);
	if (buf == NULL)
	if (buf == NULL) {
		dev_printk(KERN_WARNING, &s->dev,
			   "no memory for verifying CIS\n");
		return -ENOMEM;
	}
	list_for_each_entry(cis, &s->cis_cache, node) {
		int len = cis->len;