From da1c42cefe475f4116e0bb4404c86896f4c78be5 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Fri, 11 Dec 2020 22:51:48 +0000 Subject: [PATCH] ntb: quiet gcc -Wreturn-type Reviewed by: cem, markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27553 --- sys/dev/ntb/ntb_hw/ntb_hw_intel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c index 3d4f4ba1c4eb..8eb210efb065 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c @@ -1309,6 +1309,7 @@ db_ioread(struct ntb_softc *ntb, uint64_t regoff) case NTB_XEON_GEN1: return (intel_ntb_reg_read(2, regoff)); } + __assert_unreachable(); } static inline void