[PATCH] drivers/crypto: Use RCU_INIT_POINTER(x, NULL) in nx/nx-842.c

2014-03-22 Thread Monam Agarwal
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, r

[PATCH] drivers/crypto: Use RCU_INIT_POINTER(x, NULL) in nx/nx-842.c

2014-03-22 Thread Monam Agarwal
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, r

RE: [PATCH v3] crypto: caam - power management support for caam job-ring

2014-03-22 Thread yashpal.du...@freescale.com
I tried to reduce the patch to smallest possible size which resulted in current patch. I didn’t find a way to compress or break it further to limit of stable tree patch expectations. Yash -Original Message- From: Ben Hutchings [mailto:b...@decadent.org.uk] Sent: Saturday, March 22, 20

Re: [PATCH v3] crypto: caam - power management support for caam job-ring

2014-03-22 Thread Ben Hutchings
On Fri, 2014-03-21 at 00:35 +0545, Yashpal Dutta wrote: > Job ring is suspended gracefully and resume afresh. > > Both Sleep (where device will remain powered-on) and Deep-sleep (where > device will be powered-down are handled gracefully. Persistance sessions > are not supported across deep-sleep.