svn commit: r343563 - head/sys/dev/nvd
Alexander Motin
mav at FreeBSD.org
Tue Jan 29 20:50:30 UTC 2019
Author: mav
Date: Tue Jan 29 20:50:29 2019
New Revision: 343563
URL: https://svnweb.freebsd.org/changeset/base/343563
Log:
Fix GCC build, failed due to false integer overflow in r343562.
MFC after: 2 weeks
Modified:
head/sys/dev/nvd/nvd.c
Modified: head/sys/dev/nvd/nvd.c
==============================================================================
--- head/sys/dev/nvd/nvd.c Tue Jan 29 20:35:09 2019 (r343562)
+++ head/sys/dev/nvd/nvd.c Tue Jan 29 20:50:29 2019 (r343563)
@@ -82,7 +82,7 @@ struct nvd_disk {
struct nvme_namespace *ns;
uint32_t cur_depth;
-#define NVD_ODEPTH (1 << 31)
+#define NVD_ODEPTH (1 << 30)
uint32_t ordered_in_flight;
u_int unit;
More information about the svn-src-all
mailing list