svn commit: r368783 - stable/12/sys/dev/ntb/ntb_hw

Ryan Libby rlibby at FreeBSD.org
Sat Dec 19 04:21:16 UTC 2020


Author: rlibby
Date: Sat Dec 19 04:21:15 2020
New Revision: 368783
URL: https://svnweb.freebsd.org/changeset/base/368783

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

Modified:
  stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
==============================================================================
--- stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Sat Dec 19 04:18:49 2020	(r368782)
+++ stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Sat Dec 19 04:21:15 2020	(r368783)
@@ -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


More information about the svn-src-all mailing list