On 7/7/2017 10:53 AM, Sinan Kaya wrote:
> +     ret = pcie_capability_read_word(dev, PCI_EXP_FLAGS, &flags);
> +     if (ret || ((flags & PCI_EXP_FLAGS_VERS) < 2))
> +             return 0;
>  

Never mind, there is a problem here. I shouldn't have added it here.
I'll remove these and post again.

-- 
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm 
Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux 
Foundation Collaborative Project.

Reply via email to