From: Ian Campbell Subject: Re: [PATCH v3 4/6] tools/libxc: Introduce ARRAY_SIZE() and replace handrolled examples Date: Tue, 10 Jun 2014 16:04:41 +0100 Message-ID: <1402412681.20641.26.camel@kazak.uk.xensource.com> References: <1402407310.1250.127.camel@kazak.uk.xensource.com> <1402409280-28913-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1402409280-28913-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2014-06-10 at 15:07 +0100, Andrew Cooper wrote: > xen-hptool and xen-mfndump include xc_private.h. This is bad, but not trivial > to fix, so they gain a protective #undef and a stern comment. > > MiniOS leaks ARRAY_SIZE into the libxc namespace as part of a stubdom build. > Therefore, xc_private.h gains an #ifndef until MiniOS is fixed. > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson Acked + Applied. > > -- Triple "-" please, or it doesn't have the desired affect. > v2: Find more areas of the codebase which are poking at libxc private internals > v3: Refine how xen-{hptool,mfndump} deal with the namespace issue