mbox series

[00/12] Multiple cleanup patches for the UFS driver

Message ID 20230724202024.3379114-1-bvanassche@acm.org
Headers show
Series Multiple cleanup patches for the UFS driver | expand

Message

Bart Van Assche July 24, 2023, 8:16 p.m. UTC
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.

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          | 463 +++++++++++++++--------------
 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/ufs/ufs.h                  |  79 +++--
 include/ufs/ufshcd.h               |  27 +-
 include/ufs/ufshci.h               |  55 ++--
 17 files changed, 414 insertions(+), 361 deletions(-)