Commit 184ecc4e authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/401051


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent d81f3dfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,5 +96,5 @@ nvme_get_quirks(const struct spdk_pci_id *id)
		}
		quirk++;
	}
	return false;
	return 0;
}