svn commit: r364389 - stable/12/sys/kern

Hans Petter Selasky hselasky at FreeBSD.org
Wed Aug 19 13:28:50 UTC 2020


Author: hselasky
Date: Wed Aug 19 13:28:50 2020
New Revision: 364389
URL: https://svnweb.freebsd.org/changeset/base/364389

Log:
  Fix for INVARIANTS build.
  
  The "name" argument is not present in the EPOCH(9) APIs in 12-stable as
  merged in r364381 .
  
  This is a direct commit.
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/12/sys/kern/subr_epoch.c

Modified: stable/12/sys/kern/subr_epoch.c
==============================================================================
--- stable/12/sys/kern/subr_epoch.c	Wed Aug 19 13:23:52 2020	(r364388)
+++ stable/12/sys/kern/subr_epoch.c	Wed Aug 19 13:28:50 2020	(r364389)
@@ -208,8 +208,6 @@ epoch_alloc(int flags)
 	epoch_t epoch;
 	int i;
 
-	MPASS(name != NULL);
-
 	if (__predict_false(!inited))
 		panic("%s called too early in boot", __func__);
 


More information about the svn-src-stable-12 mailing list