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

2021-01-12 Thread Stanley Chu
Hi Can, On Tue, 2021-01-12 at 14:52 +0800, Can Guo wrote: > On 2021-01-12 14:35, Stanley Chu wrote: > > Hi Can, > > > > On Sat, 2021-01-02 at 05:59 -0800, Can Guo wrote: > >> During system resume/suspend, hba could be NULL. In this case, do not > >> touch > >> eh_sem. > >> > >> Fixes:

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

2021-01-11 Thread Can Guo
On 2021-01-12 14:35, Stanley Chu wrote: Hi Can, On Sat, 2021-01-02 at 05:59 -0800, 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:

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

2021-01-11 Thread Stanley Chu
Hi Can, On Sat, 2021-01-02 at 05:59 -0800, 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 > > diff --git

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

2021-01-02 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 diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index e221add..9829c8d 100644

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

2020-12-30 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 diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index e221add..34e2541 100644