linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.49k stars 660 forks source link

nvme: use NVME_CHECK() to check get features select field value #2500

Closed ikegami-t closed 2 months ago

ikegami-t commented 2 months ago

Use the macro instead of comparing the long filed value definition.

ikegami-t commented 2 months ago

Rebased with the master and bumped the libnvme revision. Thank you.

igaw commented 2 months ago

Not totally convinced with this macro but I don't have a strong opinion. So let's go with it and see how this works out.

ikegami-t commented 2 months ago

Noted. Thank you.