Unverified Commit 50f0fbc4 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3203 Some fixes and optimizations for hisi_sas

Merge Pull Request from: @xia-bing1 
 
This patchset includes some changes for hisi_sas:
- Fix NULL pointer issue when removing debugfs.
- Directly calling register snapshot instead of workqueue.
- Allocate debugfs memory during triggering debugfs dump.
- Fix issue that device is not found because .phy_attached is not set.
- Replace with standard error code return value.
- Check the variable slot before use it.
- Clear HISI_SAS_RESET_BIT, release hisi_hba semaphore, unblock the
  scsi host, clear HISI_SAS_REJECT_CMD_BIT if FLR failed.
- Use the correct number of registers when reading register information.
- Fix warnings detected by sparse
- Handle the NCQ error returned by D2H frame
 
 
Link:https://gitee.com/openeuler/kernel/pulls/3203

 

Reviewed-by: default avatarYihang Li <liyihang9@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents d90cff02 bf870808
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment