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@lists.xen.org http://lists.xen.org/xen-devel