On Fri, May 01, 2020 at 10:31:13PM -0700, Eric Biggers wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > Instead of manually allocating a 'struct shash_desc' on the stack and > calling crypto_shash_digest(), switch to using the new helper function > crypto_shash_tfm_digest() which does this for us. > > Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx> > Cc: Vladimir Zapolskiy <vz@xxxxxxxxx> > Cc: Kamil Konieczny <k.konieczny@xxxxxxxxxxx> > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > --- > drivers/crypto/s5p-sss.c | 39 ++++++--------------------------------- > 1 file changed, 6 insertions(+), 33 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Best regards, Krzysztof