RE: [PATCH 7/8] scsi: ufshpb: Add "Cold" regions timer
Date
Sun, 31 Jan 2021 07:30:39 +0000
> > + /* region "cold" timer - for host mode */ > > + ktime_t read_timeout; > > + atomic_t read_timeout_expiries; > > Why does this have to be an atomic when you have a lock to protect this > structure already taken? Done.
You are right, it is protected by the hpb state lock. Will fix it.