diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2024-12-03 15:44:25 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-10 04:07:09 -0500 |
commit | 1f53d88cbb0dcc7df235bf6611ae632b254fccd8 (patch) | |
tree | cff34ca86d27477039c7a797108e9511d8b4ec39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) |
RDMA/mlx4: Avoid false error about access to uninitialized gids array
Smatch generates the following false error report:
drivers/infiniband/hw/mlx4/main.c:393 mlx4_ib_del_gid() error: uninitialized symbol 'gids'.
Traditionally, we are not changing kernel code and asking people to fix
the tools. However in this case, the fix can be done by simply rearranging
the code to be more clear.
Fixes: e26be1bfef81 ("IB/mlx4: Implement ib_device callbacks")
Link: https://patch.msgid.link/6a3a1577463da16962463fcf62883a87506e9b62.1733233426.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions