Multiple cleanup patches for the UFS driver
Status from this message: Applied to 6.6/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 10 repliesApplied
- v112 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Introduced a name for the data direction enumeration type.
- Instead of introducing struct utp_upiu_hdr as an alias for struct utp_upiu_header, introduce a union in the latter data structure.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | scsi: ufs: Follow the kernel-doc syntax for documenting return valuesdrivers/ drivers/ drivers/ +8 more | +126 | 0 replies | |
| 2/12 | scsi: ufs: Document all return valuesdrivers/ drivers/ drivers/ +1 more | +44 | 0 replies | |
| 3/12 | scsi: ufs: Fix kernel-doc headersdrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 4/12 | scsi: ufs: Rename a function argumentdrivers/ | +2 | 0 replies | |
| 5/12 | scsi: ufs: Minimize #include directivesinclude/ include/ include/ | +4 | 0 replies | |
| 6/12 | scsi: ufs: Simplify zero-initializationdrivers/ | +2 | 0 replies | |
| 7/12 | scsi: ufs: Improve type safetydrivers/ drivers/ include/ +1 more | +7 | 0 replies | |
| 8/12 | scsi: ufs: Remove a local variable from ufshcd_abort_all()drivers/ | +11 | 0 replies | |
| 9/12 | scsi: ufs: Simplify ufshcd_abort_all()drivers/ | +20 | 2 replies | |
| 10/12 | scsi: ufs: Remove a member variabledrivers/ include/ include/ | +20 | 0 replies | |
| 11/12 | scsi: ufs: Simplify transfer request header initializationdrivers/ drivers/ drivers/ +2 more | +99 | 5 replies | |
| 12/12 | scsi: ufs: Simplify response header parsingdrivers/ include/ include/ | +115 | 1 reply |
Reviews trailers per patch
4 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Avri Altman |
|---|---|
| 1/12 | |
| 2/12 | |
| 3/12 | |
| 4/12 | R-b |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | R-b |
| 11/12 | R-b |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12] Multiple cleanup patches for the UFS driver
Hi Martin,
This patch includes the following changes, none of which should change the functionality of the UFS host controller driver:
- Improve the kernel-doc headers further.
- Fix multiple W=2 compiler warnings.
- Simplify ufshcd_abort_all().
- Simplify the code for creating and parsing UFS Transport Protocol (UTP) headers.
Please consider this patch series for the next merge window.
Thanks,
Bart.
Changes compared to v1:
- Introduced a name for the data direction enumeration type.
- Instead of introducing struct utp_upiu_hdr as an alias for struct utp_upiu_header, introduce a union in the latter data structure.
Bart Van Assche (12):
scsi: ufs: Follow the kernel-doc syntax for documenting return values
scsi: ufs: Document all return values
scsi: ufs: Fix kernel-doc headers
scsi: ufs: Rename a function argument
scsi: ufs: Minimize #include directives
scsi: ufs: Simplify zero-initialization
scsi: ufs: Improve type safety
scsi: ufs: Remove a local variable from ufshcd_abort_all()
scsi: ufs: Simplify ufshcd_abort_all()
scsi: ufs: Remove a member variable
scsi: ufs: Simplify transfer request header initialization
scsi: ufs: Simplify response header parsing
drivers/ufs/core/ufs-hwmon.c | 3 +- drivers/ufs/core/ufs-mcq.c | 17 +- drivers/ufs/core/ufs_bsg.c | 2 + drivers/ufs/core/ufshcd-crypto.h | 20 +- drivers/ufs/core/ufshcd-priv.h | 4 +- drivers/ufs/core/ufshcd.c | 529 +++++++++++++++-------------- drivers/ufs/host/cdns-pltfrm.c | 27 +- drivers/ufs/host/tc-dwc-g210-pci.c | 2 +- drivers/ufs/host/tc-dwc-g210.c | 32 +- drivers/ufs/host/ufs-mediatek.c | 6 +- drivers/ufs/host/ufs-qcom.c | 8 +- drivers/ufs/host/ufshcd-dwc.c | 22 +- drivers/ufs/host/ufshcd-pci.c | 2 +- drivers/ufs/host/ufshcd-pltfrm.c | 6 +- include/uapi/scsi/scsi_bsg_ufs.h | 52 ++- include/ufs/ufs.h | 47 +-- include/ufs/ufshcd.h | 26 +- include/ufs/ufshci.h | 53 ++- 18 files changed, 460 insertions(+), 398 deletions(-)