WSL2-Linux-Kernel/drivers/crypto/nx
Monam Agarwal 7ded6e3d1b crypto: nx - Use RCU_INIT_POINTER(x, NULL)
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

The rcu_assign_pointer() ensures that the initialization of a structure
is carried out before storing a pointer to that structure.
And in the case of the NULL pointer, there is no structure to initialize.
So, rcu_assign_pointer(p, NULL) can be safely converted to RCU_INIT_POINTER(p, NULL)

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-04-16 20:16:46 +08:00
..
Kconfig powerpc/crypto: add 842 hardware compression driver 2012-08-01 17:47:56 +08:00
Makefile powerpc/crypto: add 842 hardware compression driver 2012-08-01 17:47:56 +08:00
nx-842.c crypto: nx - Use RCU_INIT_POINTER(x, NULL) 2014-04-16 20:16:46 +08:00
nx-aes-cbc.c crypto: nx - fix limits to sg lists for AES-CBC 2013-09-02 20:32:53 +10:00
nx-aes-ccm.c crypto: nx - fix limits to sg lists for AES-CCM 2013-09-02 20:32:54 +10:00
nx-aes-ctr.c crypto: nx - fix limits to sg lists for AES-CTR 2013-09-02 20:32:53 +10:00
nx-aes-ecb.c crypto: nx - fix limits to sg lists for AES-ECB 2013-09-02 20:32:52 +10:00
nx-aes-gcm.c crypto: nx - fix GCM for zero length messages 2013-09-02 20:32:55 +10:00
nx-aes-xcbc.c crypto: nx - fix XCBC for zero length messages 2013-09-02 20:32:55 +10:00
nx-sha256.c crypto: nx - fix SHA-2 for chunks bigger than block size 2013-09-02 20:32:56 +10:00
nx-sha512.c crypto: nx - fix SHA-2 for chunks bigger than block size 2013-09-02 20:32:56 +10:00
nx.c crypto: nx - add offset to nx_build_sg_lists() 2013-09-02 20:32:52 +10:00
nx.h crypto: nx - add offset to nx_build_sg_lists() 2013-09-02 20:32:52 +10:00
nx_csbcpb.h powerpc/crypto: nx driver code supporting nx encryption 2012-05-16 15:05:41 +10:00
nx_debugfs.c powerpc/crypto: debugfs routines and docs for the nx device driver 2012-05-16 15:05:45 +10:00