diff options
| author | Mitch Williams <[email protected]> | 2017-08-29 05:32:33 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-10-06 08:11:31 -0700 |
| commit | 60518a048919a2781e3192981d2946149240b837 (patch) | |
| tree | 702c5eb9f00e38e506acee9054946bb632388418 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c3d26b75c22b0487c452bd610338aa015eae517b (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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions