From: "Jan Beulich" Subject: Re: [PATCH] common/sched: Correct function prototypes Date: Fri, 11 Oct 2013 12:49:14 +0100 Message-ID: <525801DA02000078000FA8B9@nat28.tlf.novell.com> References: <1381424754-7451-1-git-send-email-andrew.cooper3@citrix.com> <5257BD0F02000078000FA700@nat28.tlf.novell.com> <20131011094046.GA88315@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 1VUbDY-0002jn-Fz for xen-devel@lists.xenproject.org; Fri, 11 Oct 2013 11:49:16 +0000 In-Reply-To: <20131011094046.GA88315@ocelot.phlegethon.org> 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: Tim Deegan Cc: Andrew Cooper , Keir Fraser , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 11.10.13 at 11:40, Tim Deegan wrote: > At 07:55 +0100 on 11 Oct (1381478143), Jan Beulich wrote: >> >>> On 10.10.13 at 20:25, Keir Fraser wrote: >> > On 10/10/2013 18:05, "Andrew Cooper" wrote: >> >> --- a/xen/include/xen/sched.h >> >> +++ b/xen/include/xen/sched.h >> >> @@ -567,9 +567,9 @@ void sched_set_node_affinity(struct domain *, nodemask_t *); >> >> int sched_id(void); >> >> void sched_tick_suspend(void); >> >> void sched_tick_resume(void); >> >> -void vcpu_wake(struct vcpu *d); >> >> -void vcpu_sleep_nosync(struct vcpu *d); >> >> -void vcpu_sleep_sync(struct vcpu *d); >> >> +void vcpu_wake(struct vcpu *v); >> >> +void vcpu_sleep_nosync(struct vcpu *v); >> >> +void vcpu_sleep_sync(struct vcpu *v); >> >> ... I'd much prefer if we stopped naming parameters in declarations >> where the parameter types are already sufficiently describing them. > > I'd rather not -- I prefer the declarations to match the definitions. Any specific reason for that? Jan