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

Ryan Libby <[email protected]> Sat, 19 Dec 2020 04:21:15 +0000 (UTC)
Newsgroups gmane.os.freebsd.devel.cvs
Message-ID <202012190421.0BJ4LFMA007089__22246.0600825556$1608351683$gmane$org@repo.freebsd.org>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"