svn commit: r359979 - head/sys/geom/eli

John Baldwin jhb at FreeBSD.org
Wed Apr 15 18:27:29 UTC 2020


Author: jhb
Date: Wed Apr 15 18:27:28 2020
New Revision: 359979
URL: https://svnweb.freebsd.org/changeset/base/359979

Log:
  Mark eli_metadata_crypto_supported inline.
  
  This quiets warnings about it not being always used.
  
  Reported by:	kevans

Modified:
  head/sys/geom/eli/g_eli.h

Modified: head/sys/geom/eli/g_eli.h
==============================================================================
--- head/sys/geom/eli/g_eli.h	Wed Apr 15 18:15:58 2020	(r359978)
+++ head/sys/geom/eli/g_eli.h	Wed Apr 15 18:27:28 2020	(r359979)
@@ -507,7 +507,7 @@ eli_metadata_dump(const struct g_eli_metadata *md)
 }
 
 #ifdef _KERNEL
-static bool
+static __inline bool
 eli_metadata_crypto_supported(const struct g_eli_metadata *md)
 {
 


More information about the svn-src-all mailing list