Hi Arindam,

On Tue, Sep 18, 2018 at 03:40:58PM +0530, Arindam Nath wrote:
> @@ -246,7 +246,13 @@ static u16 get_alias(struct device *dev)
>  
>       /* The callers make sure that get_device_id() does not fail here */
>       devid = get_device_id(dev);
> +
> +     /* For ACPI HID devices, we simply return the devid as such */
> +     if (!dev_is_pci(dev))
> +             return devid;
> +

Does this fix some bug? If there is no alias defined for the device-id,
it should just return the correct devid even without that change.

Regards,

        Joerg
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to