Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2020 04:21:15 +0000 (UTC)
From:      Ryan Libby <rlibby@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r368783 - stable/12/sys/dev/ntb/ntb_hw
Message-ID:  <202012190421.0BJ4LFMA007089@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012190421.0BJ4LFMA007089>