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

Ryan Libby <[email protected]> Fri, 11 Dec 2020 22:51:48 +0000 (UTC)
Newsgroups gmane.os.freebsd.devel.cvs
Message-ID <202012112251.0BBMpmjx029534__16335.5512589746$1607727141$gmane$org@repo.freebsd.org>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"