From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2 24/30] tools/libxc: Modify bitmap operations to take void pointers Date: Mon, 8 Feb 2016 11:40:10 +0000 Message-ID: <56B87E9A.5050005@citrix.com> References: <1454679743-18133-1-git-send-email-andrew.cooper3@citrix.com> <1454679743-18133-25-git-send-email-andrew.cooper3@citrix.com> <20160205161229.GE23178@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160205161229.GE23178@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: Wei Liu Cc: Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org On 05/02/16 16:12, Wei Liu wrote: > On Fri, Feb 05, 2016 at 01:42:17PM +0000, Andrew Cooper wrote: >> The type of the pointer to a bitmap is not interesting; it does not affect the >> representation of the block of bits being pointed to. >> >> Make the libxc functions consistent with those in Xen, so they can work just >> as well with 'unsigned int *' based bitmaps. > I'm not sure I understand this, the bitmap functions in > xen/include/bitmap.h seem to take unsigned long *. > > Not saying that I object to this patch, just this comment looks wrong. The lower level bit operations are all in terms of void*, for both x86 and arm ~Andrew