diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-04-12 15:47:36 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-14 07:56:06 +0300 |
commit | 6663c01eca1a250374a898f19b60ec01859a3d0b (patch) | |
tree | 81e4a06fe94b79e9800b85d11cdc021c6f4a9d05 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | eae0b9d15ba6050852180449b932996bc3add48e (diff) | |
download | linux-6663c01eca1a250374a898f19b60ec01859a3d0b.tar.xz |
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 <vladimir.oltean@nxp.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions