Re: [PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-16 Thread Can Guo
On 2021-01-15 21:07, Adrian Hunter wrote: On 2/01/21 3:10 pm, Can Guo wrote: On 2021-01-02 20:29, Can Guo wrote: On 2021-01-02 00:05, Bart Van Assche wrote: On 12/31/20 9:44 PM, Can Guo wrote: During system resume/suspend, hba could be NULL. In this case, do not touch eh_sem. Fixes: 88a92d6

Re: [PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-15 Thread Adrian Hunter
On 2/01/21 3:10 pm, Can Guo wrote: > On 2021-01-02 20:29, Can Guo wrote: >> On 2021-01-02 00:05, Bart Van Assche wrote: >>> On 12/31/20 9:44 PM, Can Guo wrote: During system resume/suspend, hba could be NULL. In this case, do not touch eh_sem. Fixes: 88a92d6ae4fe ("scsi: ufs: Se

Re: [PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-02 Thread Can Guo
On 2021-01-02 20:29, Can Guo wrote: On 2021-01-02 00:05, Bart Van Assche wrote: On 12/31/20 9:44 PM, Can Guo wrote: During system resume/suspend, hba could be NULL. In this case, do not touch eh_sem. Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and async scan")

Re: [PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-02 Thread Can Guo
On 2021-01-02 00:05, Bart Van Assche wrote: On 12/31/20 9:44 PM, Can Guo wrote: During system resume/suspend, hba could be NULL. In this case, do not touch eh_sem. Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and async scan") Signed-off-by: Can Guo --- drivers/

Re: [PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-01 Thread Bart Van Assche
On 12/31/20 9:44 PM, Can Guo wrote: > During system resume/suspend, hba could be NULL. In this case, do not touch > eh_sem. > > Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and > async scan") > > Signed-off-by: Can Guo > --- > drivers/scsi/ufs/ufshcd.c | 9 +

[PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2020-12-31 Thread Can Guo
During system resume/suspend, hba could be NULL. In this case, do not touch eh_sem. Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and async scan") Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) dif