summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2023-04-12 15:47:36 +0300
committerJakub Kicinski <kuba@kernel.org>2023-04-14 07:56:06 +0300
commit6663c01eca1a250374a898f19b60ec01859a3d0b (patch)
tree81e4a06fe94b79e9800b85d11cdc021c6f4a9d05 /tools/perf/scripts/python/export-to-sqlite.py
parenteae0b9d15ba6050852180449b932996bc3add48e (diff)
downloadlinux-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