From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH v1 3/5] libxc/trace: Fix style Date: Wed, 4 Jun 2014 17:46:42 +0100 Message-ID: <538F4D72.9030807@eu.citrix.com> References: <1401889471-1174-1-git-send-email-konrad.wilk@oracle.com> <1401889471-1174-4-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WsEL3-0000bf-0x for xen-devel@lists.xenproject.org; Wed, 04 Jun 2014 16:46:57 +0000 In-Reply-To: <1401889471-1174-4-git-send-email-konrad.wilk@oracle.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: Konrad Rzeszutek Wilk , xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On 06/04/2014 02:44 PM, Konrad Rzeszutek Wilk wrote: > Most of the functions follow the proper style, but these > two are the odd ones out. > > Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: George Dunlap > --- > tools/libxc/xc_tbuf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/libxc/xc_tbuf.c b/tools/libxc/xc_tbuf.c > index efa8094..15ec146 100644 > --- a/tools/libxc/xc_tbuf.c > +++ b/tools/libxc/xc_tbuf.c > @@ -33,7 +33,7 @@ static int tbuf_enable(xc_interface *xch, int enable) > > sysctl.cmd = XEN_SYSCTL_tbuf_op; > sysctl.interface_version = XEN_SYSCTL_INTERFACE_VERSION; > - if (enable) > + if ( enable ) > sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_enable; > else > sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_disable; > @@ -122,7 +122,7 @@ int xc_tbuf_set_cpu_mask(xc_interface *xch, uint32_t mask) > uint64_t mask64 = mask; > > bytemap = xc_hypercall_buffer_alloc(xch, bytemap, sizeof(mask64)); > - if (bytemap == NULL) > + if ( bytemap == NULL ) > { > PERROR("Could not allocate memory for xc_tbuf_set_cpu_mask hypercall"); > goto out; >