diff options
| author | Vladimir Oltean <[email protected]> | 2023-04-12 15:47:36 +0300 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-04-13 21:56:06 -0700 |
| commit | 6663c01eca1a250374a898f19b60ec01859a3d0b (patch) | |
| tree | 81e4a06fe94b79e9800b85d11cdc021c6f4a9d05 /tools/perf/scripts/python/stackcollapse.py | |
| parent | eae0b9d15ba6050852180449b932996bc3add48e (diff) | |
net: mscc: ocelot: strengthen type of "int i" in ocelot_stats.c
The "int i" used to index the struct ocelot_stat_layout array actually
has a specific type: enum ocelot_stat. Use it, so that the WARN()
comment from ocelot_prepare_stats_regions() makes more sense.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions