Re: [Xen-devel] [PATCH v3 1/5] libxl: tidy libxl_get_scheduler() according to CODING_STYLE

2016-01-26 Thread Ian Campbell
On Mon, 2016-01-25 at 11:55 +, Ian Campbell wrote: > On Sun, 2016-01-24 at 19:45 -0500, Chester Lin wrote: > > To more closely follow the guidelines in CODING_STYLE, store the result > > of xc_sched_id() in the local variable r, and the check the result of > > the call in a separate statement. 

Re: [Xen-devel] [PATCH v3 1/5] libxl: tidy libxl_get_scheduler() according to CODING_STYLE

2016-01-25 Thread Ian Campbell
On Sun, 2016-01-24 at 19:45 -0500, Chester Lin wrote: > To more closely follow the guidelines in CODING_STYLE, store the result > of xc_sched_id() in the local variable r, and the check the result of > the call in a separate statement.  Change the type of the output > parameter given to

[Xen-devel] [PATCH v3 1/5] libxl: tidy libxl_get_scheduler() according to CODING_STYLE

2016-01-24 Thread Chester Lin
To more closely follow the guidelines in CODING_STYLE, store the result of xc_sched_id() in the local variable r, and the check the result of the call in a separate statement. Change the type of the output parameter given to xc_sched_id() from libxl_scheduler to int to match the libxc interface.