Static checker fixes and NVMe 1.4 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | Remove superfluous castsfabrics.c nvme-print.c plugins/ +2 more | +80 | 2 replies | |
| 1/13 | Remove superfluous castsnvme.h | +25 | 2 replies | |
| 1/13 | Remove superfluous casts | +0 | 0 replies | |
| 2/13 | Use NULL instead of 0 where a pointer is expectedplugins/ plugins/ | +8 | 0 replies | |
| 3/13 | huawei: Declare local functions staticplugins/ | +2 | 0 replies | |
| 4/13 | seagate: Declare local functions staticnvme-models.c plugins/ | +14 | 0 replies | |
| 5/13 | virtium: Declare local symbols staticplugins/ | +3 | 0 replies | |
| 6/13 | lightnvm: Fix an endianness issuenvme-lightnvm.c | +1 | 0 replies | |
| 7/13 | virtium: Fix an endianness issueplugins/ | +1 | 0 replies | |
| 8/13 | wdc: Fix endianness bugsplugins/ | +8 | 0 replies | |
| 9/13 | Avoid using arrays with a variable lengthnvme-print.c | +3 | 0 replies | |
| 10/13 | nvme-cli: Rework the code for getting and setting NVMf propertiesnvme-ioctl.c nvme-ioctl.h | +63 | 0 replies | |
| 11/13 | nvme-cli: Skip properties that are not supportednvme-ioctl.c | +4 | 0 replies | |
| 12/13 | Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_nslinux/ | +6 | 0 replies | |
| 13/13 | nvme-cli: Report the NVMe 1.4 NPWG, NPWA, NPDG, NPDA and NOWS fieldsnvme-print.c | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nvme-cli 00/13] Static checker fixes and NVMe 1.4 support
Hi Keith,
This patch series is what I came up with after having analyzed the output of 'sparse' for the nvme-cli source code. This patch series also includes two patches that add support for the new NVMe 1.4 Identify Namespace fields.
Thanks,
Bart.
Bart Van Assche (13):
Remove superfluous casts
Use NULL instead of 0 where a pointer is expected
huawei: Declare local functions static
seagate: Declare local functions static
virtium: Declare local symbols static
lightnvm: Fix an endianness issue
virtium: Fix an endianness issue
wdc: Fix endianness bugs
Avoid using arrays with a variable length
nvme-cli: Rework the code for getting and setting NVMf properties
nvme-cli: Skip properties that are not supported Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_ns
nvme-cli: Report the NVMe 1.4 NPWG, NPWA, NPDG, NPDA and NOWS fields
fabrics.c | 2 +- linux/nvme.h | 7 +- nvme-ioctl.c | 126 +++++++++++++++++---------------- nvme-ioctl.h | 2 +- nvme-lightnvm.c | 2 +- nvme-models.c | 1 + nvme-print.c | 51 +++++++------ plugins/huawei/huawei-nvme.c | 3 +- plugins/intel/intel-nvme.c | 16 ++--- plugins/seagate/seagate-nvme.c | 58 +++++++-------- plugins/virtium/virtium-nvme.c | 14 ++-- plugins/wdc/wdc-nvme.c | 88 ++++++++++++----------- 12 files changed, 200 insertions(+), 170 deletions(-)
Signature · 1 line
2.22.0.rc3