diff options
-rw-r--r-- | drivers/crypto/caam/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/error.c b/drivers/crypto/caam/error.c index a4129a35a330..4da844e4b61d 100644 --- a/drivers/crypto/caam/error.c +++ b/drivers/crypto/caam/error.c | |||
@@ -22,7 +22,7 @@ void caam_dump_sg(const char *level, const char *prefix_str, int prefix_type, | |||
22 | size_t len; | 22 | size_t len; |
23 | void *buf; | 23 | void *buf; |
24 | 24 | ||
25 | for (it = sg; it && tlen > 0 ; it = sg_next(sg)) { | 25 | for (it = sg; it && tlen > 0 ; it = sg_next(it)) { |
26 | /* | 26 | /* |
27 | * make sure the scatterlist's page | 27 | * make sure the scatterlist's page |
28 | * has a valid virtual memory mapping | 28 | * has a valid virtual memory mapping |