linux-nvme / nvme-cli

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

nvme: return ret error value to open device if errno not set #2431

Closed ikegami-t closed 2 months ago

ikegami-t commented 3 months ago

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

igaw commented 2 months ago

Yes, that's way better.

Thanks!