crypto: nx - Fix sparse warnings
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 6 Feb 2023 05:08:48 +0000 (13:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Feb 2023 05:39:33 +0000 (13:39 +0800)
commit6084466e761754815bea11d0fa67dbf79e2b0666
tree1a8c8d75af66c0237269df631e203b41be4cfdc6
parent5072b1c211107fca80b75f0ac0ca6f90e3385837
crypto: nx - Fix sparse warnings

This driver generates a large number of sparse warnings due to
two issues.

First of all the structure nx842_devdata is defined inline causing
the __rcu tag to be added to all users of it.  This easily fixed by
splitting up the struct definition.

The second issue is with kdoc markers being incomplete.  The trivial
case of nx842_exec_vas has been fixed, while the other incomplete
documentation has simply been downgraded to normal C comments.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-common-powernv.c
drivers/crypto/nx/nx-common-pseries.c