Messages in this thread | | | Date | Mon, 23 Sep 2013 10:45:08 +0300 | From | Dan Carpenter <> | Subject | Re: [PATCH] pinctrl: pinctrl-adi2: Add dependency to arch BLACKFIN in Kconfig. |
| |
The other two Coccinelle warnings were real bugs as well:
drivers/pinctrl/pinctrl-adi2.c:250:1-18: ERROR: nested lock+irqsave that reuses flags from line 249. The second spinlock_irq_save() should just be a spinlock.
drivers/pinctrl/pinctrl-adi2.c:326:16-19: ERROR: port is NULL but dereferenced. The error message dereferences a NULL pointer.
regards, dan carpenter
| |