From dfaa2c613d30ee3f89c0d25298c69c0486720e26 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Sat, 19 Dec 2020 04:21:15 +0000 Subject: [PATCH] MFC r368563: 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 085e9da90c1..c72dfaf3e35 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c @@ -1305,6 +1305,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 -- 2.45.0