Skip to content

lnvm: minor clean-ups

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 4 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/4] lnvm: minor clean-ups
Quoted 32 lines · Matias Bj?rling
Quoted 25 lines · Minwoo Im

Hi,

This series is nothing but a clean-up patch series. I hope it's not a just code churns, but a good start to do something for lnvm.

The first one removed a redundant whitespace in the command description. The second one removed unnecessary print for the sizeof(dev) which will always be zero in case user does not give any argument for the device. The third patch removed temp variable instead casting the pinter directly. The last one just sync-up the kernel UAPI header file to the latest.

Please review.

Thanks,

Changes to V2:
- Resend the series with the latest patch commits.

Minwoo Im (4):
lnvm: remove redundant whitespace in lnvm_init()
lnvm: do not print 0 when the arg is not given
lnvm: cast identity structure to (void *) directly
lnvm: sync-up uapi lightnvm.h header from kernel

Quoted 5 lines
  linux/lightnvm.h         | 52 +++++++++++++++++++++++++++++++++++++++-
  nvme-lightnvm.c          |  7 +++---
  plugins/lnvm/lnvm-nvme.c |  8 +++----
  3 files changed, 58 insertions(+), 9 deletions(-)
Quoted 5 lines

Thanks Minwoo.

Patch 1-3 looks good to me. Keith, feel free to pick them up.

Patch 4 can wait until there is a use for the data structures.

Sounds good, series applied from the pull-request.