Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 10:23:32 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r329122 - stable/11/sys/sys
Message-ID:  <201802111023.w1BANW2O030781@repo.freebsd.org>

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



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