[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: fix sparse warning in p2m.c
On 05/12/14 06:16, Juergen Gross wrote: > The patch "Speed up set_phys_to_machine() by using read-only mappings" > introduced a sparse warning: > > arch/x86/xen/p2m.c:628:13: sparse: incorrect type in argument 1 > (different address spaces) > > Avoid the warning. Thanks. But can you add some helper functions instead? Perhaps: static inline int xen_safe_write_ulong(unsigned long *addr, unsigned long val) { //... } static inline int xen_safe_read_ulong(unsigned long *addr, unsigned long *val) { //... } David _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |