summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-18 10:26:08 -0700
committerJakub Kicinski <kuba@kernel.org>2021-10-18 12:03:04 -0700
commitac6b7e0d9679db908d92fb96605d1ce01e8173d4 (patch)
treeebe51be9556b8e1658236bc59040d60ff380b262 /tools/perf/scripts/python/export-to-postgresql.py
parent041c61488236a5a84789083e3d9f0a51139b6edf (diff)
mlx5: prevent 64bit divide
mlx5_tout_ms() returns a u64, we can't directly divide it. This is not a problem here, @timeout which is the value that actually matters here is already a ulong, so this implies storing return value of mlx5_tout_ms() on a ulong should be fine. This fixes: ERROR: modpost: "__udivdi3" [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined! Fixes: 32def4120e48 ("net/mlx5: Read timeout values from DTOR") Link: https://lore.kernel.org/r/20211018172608.1069754-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions