[PATCH v5 0/3] Changes for ufshcd.c

From: Bean Huo
Date: Tue Oct 25 2022 - 18:25:21 EST


From: Bean Huo <beanhuo@xxxxxxxxxx>

v4--v5:
1. Rebase the patch
2. Change commit message of patch 1/3

v3--v4:
1. Change patch 1/3 title
2. Fix one typo in patch 3/3
3. Fix coding type issue in patch 2/3 based on Bart's comment

v2--v3:
1. Add patch 3/3
2. Add remove unused parameter param_offset in patch 1/3 based on Daejun's comment
3. Further optimized patch 2/3 based on Bart's comment

v1--v2:
1. change in ufshcd_lu_init() in patch 2/2:
1) Remove duplicate parameter initialization
2) Move lun parameter initialization before kmalloc()

Bean Huo (3):
scsi: ufs: core: Revert "WB is only available on LUN #0 to #7"
scsi: ufs: core: Cleanup ufshcd_slave_alloc()
scsi: ufs: core: Use is_visible to control UFS unit descriptor sysfs
nodes

drivers/ufs/core/ufs-sysfs.c | 21 ++++-
drivers/ufs/core/ufshcd-priv.h | 6 +-
drivers/ufs/core/ufshcd.c | 152 ++++++++++++---------------------
3 files changed, 74 insertions(+), 105 deletions(-)

--
2.34.1