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:
parent
d81f3dfd3e
commit
184ecc4e65
@ -96,5 +96,5 @@ nvme_get_quirks(const struct spdk_pci_id *id)
|
||||
}
|
||||
quirk++;
|
||||
}
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user