[PATCH v2 0/2] Cleanup controller configuration register handling

Damien Le Moal dlemoal at kernel.org
Wed Feb 12 22:49:58 PST 2025


A couple of patches to cleanup the definition and handling of the CC
register. No functional changes.

Changes from v1:
 - Added comments to describe the CC enum and its fields (patch 1)
 - Added review tags to patch 2

Damien Le Moal (2):
  nvme: Cleanup the definition of the controller config register fields
  nvmet: Use enum definitions instead of hardcoded values

 drivers/nvme/target/nvmet.h | 14 ++++++-------
 include/linux/nvme.h        | 40 ++++++++++++++++++++++++++++++-------
 2 files changed, 40 insertions(+), 14 deletions(-)

-- 
2.48.1




More information about the Linux-nvme mailing list