Refreshed all patches. Remove upstreamed: - 302-0002-dmaengine-dw-implement-per-channel-protection-contro.patch Fixes: - CVE-2019-19332 Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			867 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			867 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From c587e65deacf8c86de2d7c51f1e81d0a4a9147a8 Mon Sep 17 00:00:00 2001
 | 
						|
From: Christian Lamparter <chunkeey@googlemail.com>
 | 
						|
Date: Fri, 25 Aug 2017 15:47:18 +0200
 | 
						|
Subject: [PATCH 05/25] crypto: crypto4xx - remove double assignment of
 | 
						|
 pd_uinfo->state
 | 
						|
 | 
						|
crypto4xx_put_pd_to_pdr() already clears the flag.
 | 
						|
 | 
						|
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
 | 
						|
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
 | 
						|
---
 | 
						|
 drivers/crypto/amcc/crypto4xx_core.c | 1 -
 | 
						|
 1 file changed, 1 deletion(-)
 | 
						|
 | 
						|
--- a/drivers/crypto/amcc/crypto4xx_core.c
 | 
						|
+++ b/drivers/crypto/amcc/crypto4xx_core.c
 | 
						|
@@ -1086,7 +1086,6 @@ static void crypto4xx_bh_tasklet_cb(unsi
 | 
						|
 			pd->pd_ctl.bf.pe_done = 0;
 | 
						|
 			crypto4xx_pd_done(core_dev->dev, tail);
 | 
						|
 			crypto4xx_put_pd_to_pdr(core_dev->dev, tail);
 | 
						|
-			pd_uinfo->state = PD_ENTRY_FREE;
 | 
						|
 		} else {
 | 
						|
 			/* if tail not done, break */
 | 
						|
 			break;
 |