linux/drivers/staging/fwserial
Monam Agarwal e8429b0913 drivers/staging: Use RCU_INIT_POINTER(x, NULL) in fwserial/fwserial.c
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-25 14:01:40 -07:00
..
Kconfig staging/fwserial: Add Kconfig options for max ports 2013-12-08 17:03:03 -08:00
Makefile
TODO staging/fwserial: Create loop device the 'tty' way 2013-01-29 23:28:45 -05:00
dma_fifo.c fwserial: (coding style) removing FSF postal address 2014-04-25 14:01:40 -07:00
dma_fifo.h fwserial: (coding style) removing FSF postal address 2014-04-25 14:01:40 -07:00
fwserial.c drivers/staging: Use RCU_INIT_POINTER(x, NULL) in fwserial/fwserial.c 2014-04-25 14:01:40 -07:00
fwserial.h staging/fwserial: don't use PREPARE_WORK 2014-03-07 10:24:50 -05:00