Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 20:50:29 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343563 - head/sys/dev/nvd
Message-ID:  <201901292050.x0TKoTCD011956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901292050.x0TKoTCD011956>