summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2024-01-26 21:58:31 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-01-30 17:47:36 +0300
commit1267f7223bec186dc26ef4e6075496c6217355de (patch)
treedb93be129f9338ae168c73a6593cee01952c7845 /tools/perf/scripts/python/export-to-sqlite.py
parentbe2f16a994f09b7f95db57f106520dd5e2585050 (diff)
downloadlinux-1267f7223bec186dc26ef4e6075496c6217355de.tar.xz
mlxsw: Use refcount_t for reference counting
mlxsw driver uses 'unsigned int' for reference counters in several structures. Instead, use refcount_t type which allows us to catch overflow and underflow issues. Change the type of the counters and use the appropriate API. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions