commit | fe95938dadbd151cb8b4720f6e0a9e3a3523f8f2 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Mon Oct 21 16:51:45 2019 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Oct 26 02:09:59 2019 +1100 |
tree | 50f6d32bf7c7b9a9482db557cf2231a01f253999 | |
parent | 03f008c52b76114b83483de2cf15ed36fc34930c [diff] |
crypto: nx - Improve debugfs_create_u{32,64}() handling for atomics Variables of type atomic{,64}_t can be used fine with debugfs_create_u{32,64}, when passing a pointer to the embedded counter. This allows to get rid of the casts, which prevented compiler checks. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>