From 1fadd5062ff5b107d254e52d32e9d5bace43d8a9 Mon Sep 17 00:00:00 2001 From: mav Date: Tue, 29 Jan 2019 20:50:29 +0000 Subject: [PATCH] Fix GCC build, failed due to false integer overflow in r343562. MFC after: 2 weeks --- sys/dev/nvd/nvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/nvd/nvd.c b/sys/dev/nvd/nvd.c index d228b7b16db9..5a7b502ff225 100644 --- a/sys/dev/nvd/nvd.c +++ b/sys/dev/nvd/nvd.c @@ -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;