Re: [PATCH v2 11/15] megaraid_sas: Make adprecovery variable atomic

2016-01-29 Thread Tomas Henzl
On 28.1.2016 16:34, Sumit Saxena wrote: > Make instance->adprecovery variable atomic and removes hba_lock spinlock > while accessing instance->adprecovery. > > Tomas commented on last time sent patch asking to use u8 instead of atomic > for adprecovery. I agree that atomic_t is not required > her

[PATCH v2 11/15] megaraid_sas: Make adprecovery variable atomic

2016-01-28 Thread Sumit Saxena
Make instance->adprecovery variable atomic and removes hba_lock spinlock while accessing instance->adprecovery. Tomas commented on last time sent patch asking to use u8 instead of atomic for adprecovery. I agree that atomic_t is not required here but this is done for not to touch legacy code of