tree:
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head: 34074205bb9f04b416efb3cbedcd90f418c86200
commit: 553d2374db0bb3f48bbd29bef7ba2a4d1a3f325d [112/119] crypto: ccp -
Support for multiple CCPs
coccinelle warnings: (new ones prefixed by >>)
>> drivers/crypto/ccp/ccp-dev.c:120:2-20: ERROR: nested lock+irqsave that
>> reuses flags from line 118.
vim +120 drivers/crypto/ccp/ccp-dev.c
112 unsigned long flags;
113 struct ccp_device *dp = NULL;
114
115 /* We round-robin through the unit list.
116 * The (ccp_rr) pointer refers to the next unit to use.
117 */
> 118 read_lock_irqsave(&ccp_unit_lock, flags);
119 if (!list_empty(&ccp_units)) {
> 120 write_lock_irqsave(&ccp_rr_lock, flags);
121 dp = ccp_rr;
122 if (list_is_last(&ccp_rr->entry, &ccp_units))
123 ccp_rr = list_first_entry(&ccp_units, struct
ccp_device,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html