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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to