crypto: hisilicon/sec2 - fix for register offset
authorWenkai Lin <linwenkai6@hisilicon.com>
Tue, 23 Apr 2024 01:19:22 +0000 (09:19 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 May 2024 10:44:44 +0000 (18:44 +0800)
commit6117af86365916e4202b5a709c155f7e6e5df810
tree2307054bdb248f105a2e180c30c01349c70d6224
parent15f112f9cef5ffb549d9479e64767d0bab4bdf38
crypto: hisilicon/sec2 - fix for register offset

The offset of SEC_CORE_ENABLE_BITMAP should be 0 instead of 32,
it cause a kasan shift-out-bounds warning, fix it.

Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_main.c