diff options
author | Tom Seewald <tseewald@gmail.com> | 2020-06-04 21:30:12 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-06-15 15:39:36 -0300 |
commit | 4f5747cf8e5947479a27a3597829e45d6d8d73e0 (patch) | |
tree | d2baf3f1cdcd497df5d0d59daef7768cdc0d3bc7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2ef5612391f0a7a631c42a8afc867095b49a1992 (diff) | |
download | linux-4f5747cf8e5947479a27a3597829e45d6d8d73e0.tar.gz linux-4f5747cf8e5947479a27a3597829e45d6d8d73e0.tar.bz2 linux-4f5747cf8e5947479a27a3597829e45d6d8d73e0.zip |
RDMA/mlx5: Fix -Wformat warning in check_ucmd_data()
Variables of type size_t should use %zu rather than %lu [1]. The variables
"inlen", "ucmd", "last", and "size" are all size_t, so use the correct
format specifiers.
[1] https://www.kernel.org/doc/html/latest/core-api/printk-formats.html
Fixes: e383085c2425 ("RDMA/mlx5: Set ECE options during QP create")
Link: https://lore.kernel.org/r/20200605023012.9527-1-tseewald@gmail.com
Signed-off-by: Tom Seewald <tseewald@gmail.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions