[PATCH V2 0/5] nvme: small cleanups

Chaitanya Kulkarni chaitanya.kulkarni at wdc.com
Mon Jun 7 12:54:49 PDT 2021


Hi,

This adds a couple of helpers to remove the duplicate code. The last
patch removes the exta white lines from nvme-pci.

If this makes sense, please consider this series for 5.14.

-ck

v1->v2

1. use nvme_ctrl_sgl_supported() helper in nvme_map_data().

 drivers/nvme/host/fc.c    |  2 +-
 drivers/nvme/host/ioctl.c | 26 ++++++++++++++++----------
 drivers/nvme/host/nvme.h  |  8 ++++++++
 drivers/nvme/host/pci.c   |  6 ++----
 drivers/nvme/host/tcp.c   |  2 +-
 5 files changed, 28 insertions(+), 16 deletions(-)

-- 
2.22.1




More information about the Linux-nvme mailing list