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

Re: [Xen-devel] [PATCH] Remove redundant code in branch MAP_PIRQ_TYPE_MSI



>>> On 09.10.17 at 08:00, <zhenzhong.duan@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/physdev.c
> +++ b/xen/arch/x86/physdev.c
> @@ -122,8 +122,6 @@ int physdev_map_pirq(domid_t domid, int type, int *index, 
> int *pirq_p,
>          break;
>  
>      case MAP_PIRQ_TYPE_MSI:
> -        if ( !msi->table_base )
> -            msi->entry_nr = 1;
>          /* fallthrough */
>      case MAP_PIRQ_TYPE_MULTI_MSI:

I have a variant of this (also removing the then stray comment)
pending for after 4.10 (the change comes too later for 4.10).
Please also don't forget to Cc maintainers when submitting
patches.

Jan


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

 


Rackspace

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