diff options
author | Liu Shixin <liushixin2@huawei.com> | 2020-09-17 11:13:54 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-25 15:17:42 +0300 |
commit | b942fc0319a72b83146b79619eb578e989062911 (patch) | |
tree | 6574dbc3a0cf8141d9bda196e53a94042c9555a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 30b707886aeb89eee4e6b4e0c1aba9fb50e30a5f (diff) | |
download | linux-b942fc0319a72b83146b79619eb578e989062911.tar.xz |
RDMA/mlx5: Fix type warning of sizeof in __mlx5_ib_alloc_counters()
sizeof() when applied to a pointer typed expression should give the size
of the pointed data, even if the data is a pointer.
Fixes: e1f24a79f424 ("IB/mlx5: Support congestion related counters")
Link: https://lore.kernel.org/r/20200917081354.2083293-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions