diff options
| author | 2017-08-29 05:32:33 -0400 | |
|---|---|---|
| committer | 2017-10-06 08:11:31 -0700 | |
| commit | 60518a048919a2781e3192981d2946149240b837 (patch) | |
| tree | 702c5eb9f00e38e506acee9054946bb632388418 /include/linux/debugobjects.h | |
| parent | i40e: re-enable PTP L4 capabilities for XL710 if FW >6.0 (diff) | |
i40e: redfine I40E_PHY_TYPE_MAX
Since I40E_PHY_TYPE_MAX is used as an iterator, usually combined with
some sort of bit-shifting, it should only include actual PHY types and
not error cases. Move it up in the enum declaration so that loops only
iterate across valid PHY types.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
