Re: [Xen-devel] [PATCH] sched/rt: Fix build after c/s c3715dd8fb766

2018-03-08 Thread Meng Xu
On Thu, Mar 8, 2018 at 6:12 AM, Andrew Cooper wrote: > > Travis reports: > > sched_rt.c:241:30: error: unused function 'rt_dom' > [-Werror,-Wunused-function] > static inline struct rt_dom *rt_dom(const struct domain *dom) >^ > 1 error generated. > > when comp

Re: [Xen-devel] [PATCH] sched/rt: Fix build after c/s c3715dd8fb766

2018-03-08 Thread George Dunlap
On 03/08/2018 11:12 AM, Andrew Cooper wrote: > Travis reports: > > sched_rt.c:241:30: error: unused function 'rt_dom' > [-Werror,-Wunused-function] > static inline struct rt_dom *rt_dom(const struct domain *dom) >^ > 1 error generated. > > when compiling wit

[Xen-devel] [PATCH] sched/rt: Fix build after c/s c3715dd8fb766

2018-03-08 Thread Andrew Cooper
Travis reports: sched_rt.c:241:30: error: unused function 'rt_dom' [-Werror,-Wunused-function] static inline struct rt_dom *rt_dom(const struct domain *dom) ^ 1 error generated. when compiling with Clang. Drop the function. Signed-off-by: Andrew Cooper ---