crypto: scatterwalk - Add missing sg_init_table to scatterwalk_ffwd
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 May 2015 06:37:27 +0000 (14:37 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 May 2015 03:23:17 +0000 (11:23 +0800)
commitfdaef75f66bba5999a94f3cd9156bf353ba2ef98
treeb46bf1ba0ff0eb8fd586ebeb420c46da8b9b0cf3
parent693b549d39ea755abea721eb53b4262f75f41fb9
crypto: scatterwalk - Add missing sg_init_table to scatterwalk_ffwd

We need to call sg_init_table as otherwise the first entry may
inadvertently become the last.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/scatterwalk.c