summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-versaclock5.c
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-12-01 09:25:26 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-12-09 13:45:00 +0300
commit04ba54e5af8f8f0137b08cb51a0b3a2e1ea46c94 (patch)
tree7f75dda56e6e86145cbc1d9eadb1f60f3cff8389 /drivers/clk/clk-versaclock5.c
parenta428636d4c827ebe967aa31a83684b4c8e742ed1 (diff)
downloadlinux-04ba54e5af8f8f0137b08cb51a0b3a2e1ea46c94.tar.xz
crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
Smatch report warning as follows: drivers/crypto/img-hash.c:366 img_hash_dma_task() warn: variable dereferenced before check 'hdev->req' Variable dereferenced should be done after check 'hdev->req', fix it. Fixes: d358f1abbf71 ("crypto: img-hash - Add Imagination Technologies hw hash accelerator") Fixes: 10badea259fa ("crypto: img-hash - Fix null pointer exception") Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/clk/clk-versaclock5.c')
0 files changed, 0 insertions, 0 deletions