crypto: hisilicon - misc fix about sgl
authorZhou Wang <wangzhou1@hisilicon.com>
Mon, 30 Sep 2019 07:08:55 +0000 (15:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Oct 2019 12:36:31 +0000 (23:36 +1100)
commita92a00f809503c6db9dac518951e060ab3d6f6ee
treed0bb3dd1e967dc0a3fe6832d73a5c0368520f390
parentd8ac7b85236b04d14fa80328726cd4d098b4a2a7
crypto: hisilicon - misc fix about sgl

This patch fixes some misc problems in sgl codes, e.g. missing static,
sparse error and input parameter check.

Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sgl.c