From: "Jan Beulich" Subject: Re: [PATCH v5 2/9] ioreq-server: pre-series tidy up Date: Tue, 06 May 2014 13:25:52 +0100 Message-ID: <5368F0F0020000780000F58D@mail.emea.novell.com> References: <1398946120-33169-1-git-send-email-paul.durrant@citrix.com> <1398946120-33169-3-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398946120-33169-3-git-send-email-paul.durrant@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 01.05.14 at 14:08, wrote: > This patch tidies up various parts of the code that following patches move > around. If these modifications were combined with the code motion it would > be easy to miss them. > > There's also some function renaming to reflect purpose and a single > whitespace fix. > > Signed-off-by: Paul Durrant Acked-by: Jan Beulich with one comment: > @@ -1425,14 +1425,15 @@ void hvm_vcpu_down(struct vcpu *v) > } > } > > -bool_t hvm_send_assist_req(struct vcpu *v) > +bool_t hvm_send_assist_req(void) > { > - ioreq_t *p; > + struct vcpu *v = current; > + ioreq_t *p = get_ioreq(v); Would the patch grow significantly bigger if you renamed "v" to "curr" here, as we generally try to do to document that it's not an arbitrary vCPU that is being referred to (the ack stands regardless of whether you do the rename)? Jan