[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Incorrect Prototypes



Patch is attached.

-----Original Message-----
From: Jan Beulich [mailto:JBeulich@xxxxxxxx] 
Sent: Tuesday, February 26, 2013 11:00 AM
To: Robert VanVossen
Cc: xen-devel@xxxxxxxxxxxxx
Subject: Re: [Xen-devel] Incorrect Prototypes

>>> On 26.02.13 at 15:23, Robert VanVossen <Robert.VanVossen@xxxxxxxxxxxxxxx> 
>>> wrote:
> do_kexec_op and compat_set_timer_op are both prototyped in 
> xen/include/xen/hypercall.h, but are different than their implemented 
> functions. This appears to be a bug.

Care to send a patch?

Jan

> do_kexec_op:
> xen/common/kexec.c: 889
> long do_kexec_op(unsigned long op, XEN_GUEST_HANDLE(void) uarg) {
>     return do_kexec_op_internal(op, uarg, 0); }
> 
> xen/include/xen/hypercall.h: 126
> extern long
> do_kexec_op(
>     unsigned long op,
>     int arg1,
>     XEN_GUEST_HANDLE(void) arg);
> 
> 
> 
> compat_set_timer_op:
> xen/common/compat/schedule.c: 38
> int compat_set_timer_op(u32 lo, s32 hi) {
>     return do_set_timer_op(((s64)hi << 32) | lo); }
> 
> xen/include/xen/hypercall.h:175
> extern int
> compat_set_timer_op(
>     s_time_t timeout);
> 
> Thanks,
> Robbie VanVossen



Attachment: hypercall_prototypes.patch
Description: hypercall_prototypes.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.