nvme: fix return value of nvme_get_quirks()

This function returns uint64_t, but the existing code was returning
the bool 'false' (which is also 0, so there is no functional change).

Change-Id: I546b15974c2d9e4107efe262950e3eb5613e0e9f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/401051
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2018-02-22 13:04:31 -07:00 committed by Jim Harris
parent d81f3dfd3e
commit 184ecc4e65

View File

@ -96,5 +96,5 @@ nvme_get_quirks(const struct spdk_pci_id *id)
} }
quirk++; quirk++;
} }
return false; return 0;
} }