On 03/11/2016 08:22 PM, Herbert Xu wrote:
On Fri, Mar 11, 2016 at 10:40:11AM -0600, Gary R Hook wrote:
@@ -128,14 +128,14 @@ static struct ccp_device *ccp_get_device(void)
*/
read_lock_irqsave(_unit_lock, flags);
if (!list_empty(_units)) {
-
On Fri, Mar 11, 2016 at 10:40:11AM -0600, Gary R Hook wrote:
>
> @@ -128,14 +128,14 @@ static struct ccp_device *ccp_get_device(void)
>*/
> read_lock_irqsave(_unit_lock, flags);
> if (!list_empty(_units)) {
> - write_lock_irqsave(_rr_lock, flags);
> +
On 03/11/2016 10:40 AM, Gary R Hook wrote:
> This patch fixes a coccinelle warning about reusing a flags
> variable in nested lock acquisition.
>
> Signed-off-by: Gary R Hook
Acked-by: Tom Lendacky
> ---
> drivers/crypto/ccp/ccp-dev.c |6 +++---
This patch fixes a coccinelle warning about reusing a flags
variable in nested lock acquisition.
Signed-off-by: Gary R Hook
---
drivers/crypto/ccp/ccp-dev.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/ccp/ccp-dev.c