svn commit: r368563 - head/sys/dev/ntb/ntb_hw

Ryan Libby rlibby at FreeBSD.org
Fri Dec 11 22:51:49 UTC 2020


Author: rlibby
Date: Fri Dec 11 22:51:48 2020
New Revision: 368563
URL: https://svnweb.freebsd.org/changeset/base/368563

Log:
  ntb: quiet gcc -Wreturn-type
  
  Reviewed by:	cem, markj
  Sponsored by:	Dell EMC Isilon
  Differential Revision:	https://reviews.freebsd.org/D27553

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Fri Dec 11 22:51:44 2020	(r368562)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Fri Dec 11 22:51:48 2020	(r368563)
@@ -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


More information about the svn-src-all mailing list