diff options
| author | Aleksandr Loktionov <[email protected]> | 2020-06-05 17:09:44 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-06-11 21:53:50 +0000 |
| commit | 5071bda2947f61da0b1c271cf0b16be45c9b81e9 (patch) | |
| tree | a0c0bf20189726b1305e3c52f5287ef25948adba /drivers/pci/controller/pci-host-generic.c | |
| parent | iavf: fix speed reporting over virtchnl (diff) | |
| download | kernel-5071bda2947f61da0b1c271cf0b16be45c9b81e9.tar.gz kernel-5071bda2947f61da0b1c271cf0b16be45c9b81e9.zip | |
iavf: use appropriate enum for comparison
adapter->link_speed has type enum virtchnl_link_speed but our comparisons
are against enum iavf_aq_link_speed. Though they are, currently, the same
values, change the comparison to the matching enum virtchnl_link_speed
since that may not always be the case.
Signed-off-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: Piotr Kwapulinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
