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;
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to