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: return ret error value to open device if errno not set #2431

Closed ikegami-t closed 3 months ago

ikegami-t commented 4 months ago

The APIs may not set errno set errno to 0 before the device open.

igaw commented 3 months ago

Yes, that's way better.

Thanks!