From: Ian Campbell Subject: Re: [PATCH] tools/libxc: Improve the *_FIELD() macros Date: Fri, 27 Jun 2014 14:36:37 +0100 Message-ID: <1403876197.3169.42.camel@kazak.uk.xensource.com> References: <1403111917-32041-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: <1403111917-32041-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 Wed, 2014-06-18 at 18:18 +0100, Andrew Cooper wrote: > The {GET,SET,MEMCPY,MEMSET_ARRAY}_FIELD() macros previously required > 'dinfo->guest_width' to exist in scope, which is somewhat antisocial, and > makes them awkward to use in other contexts. > > Update these macros to take guest width as a parameter, and in all cases pass > dinfo->guest_width. > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson Acked + applied. thanks.