>>> On 06.05.16 at 10:54, <quan...@intel.com> wrote:
> @@ -1430,7 +1430,12 @@ int domain_context_mapping_one(
>      unmap_vtd_domain_page(context_entries);
>  
>      if ( !seg )
> -        me_wifi_quirk(domain, bus, devfn, MAP_ME_PHANTOM_FUNC);
> +    {
> +        ret = me_wifi_quirk(domain, bus, devfn, MAP_ME_PHANTOM_FUNC);
> +
> +        if ( !rc )
> +            rc = ret;
> +    }

Is there any use in calling this function if an earlier error occurred?
If not, the change can be more lightweight (while in the unmap case
it should probably stay as is, to fit the "best effort" theme).

Jan


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

Reply via email to