diff options
| author | Mitch Williams <mitch.a.williams@intel.com> | 2017-08-29 05:32:33 -0400 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-06 08:11:31 -0700 |
| commit | 60518a048919a2781e3192981d2946149240b837 (patch) | |
| tree | 702c5eb9f00e38e506acee9054946bb632388418 /scripts/stackusage | |
| parent | c3d26b75c22b0487c452bd610338aa015eae517b (diff) | |
| download | cachepc-linux-60518a048919a2781e3192981d2946149240b837.tar.gz cachepc-linux-60518a048919a2781e3192981d2946149240b837.zip | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
