svn commit: r329122 - stable/11/sys/sys

Hans Petter Selasky hselasky at FreeBSD.org
Sun Feb 11 10:23:33 UTC 2018


Author: hselasky
Date: Sun Feb 11 10:23:32 2018
New Revision: 329122
URL: https://svnweb.freebsd.org/changeset/base/329122

Log:
  Fix regression issue after r328973:
  
  The lint target does no longer exist in FreeBSD head
  and the __alloc_size2() support for lint was missing
  when r328973 was MFCed. Add support for __alloc_size2() to
  the lint target.
  
  This is a direct commit.
  
  Found by:	antoine@
  Pointy hat:	hselasky@
  Sponsored by:	Mellanox Technologies

Modified:
  stable/11/sys/sys/cdefs.h

Modified: stable/11/sys/sys/cdefs.h
==============================================================================
--- stable/11/sys/sys/cdefs.h	Sun Feb 11 07:04:48 2018	(r329121)
+++ stable/11/sys/sys/cdefs.h	Sun Feb 11 10:23:32 2018	(r329122)
@@ -213,6 +213,7 @@
 #define	__aligned(x)
 #define	__alloc_align(x)
 #define	__alloc_size(x)
+#define	__alloc_size2(n, x)
 #define	__section(x)
 #define	__weak_symbol
 #else


More information about the svn-src-all mailing list