>>> On 05.04.19 at 11:33, <ppircal...@bitdefender.com> wrote: > @@ -529,30 +534,21 @@ int __vm_event_claim_slot(struct domain *d, struct > vm_event_domain *ved, > /* Registered with Xen-bound event channel for incoming notifications. */ > static void mem_paging_notification(struct vcpu *v, unsigned int port) > { > - struct domain *domain = v->domain; > - > - if ( likely(vm_event_check_ring(domain->vm_event_paging)) ) > - vm_event_resume(domain, domain->vm_event_paging); > + (void)vm_event_resume(v->domain, v->domain->vm_event_paging);
Unless there's a good reason for them, could you please avoid adding such casts? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel