diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-07 17:46:48 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-07 17:46:48 +0000 |
commit | ebb16d5e93934c27ccf4e54e780db0b80bd4142e (patch) | |
tree | e8c57dadd3a5a107d2616f0d139db97d20a9f7e0 | |
parent | 3cebca152b183a87c48a3d36610569f2b4865261 (diff) | |
download | src-ebb16d5e93934c27ccf4e54e780db0b80bd4142e.tar.gz src-ebb16d5e93934c27ccf4e54e780db0b80bd4142e.zip |
mlx5: Pass the correct data pointer to the add_dst_cb instead of NULL.
Reported by: -Wunused-but-set-variable
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34812
-rw-r--r-- | sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c index ecfac9adb98a..749d128fe348 100644 --- a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c +++ b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c @@ -1521,7 +1521,7 @@ static void call_to_add_rule_notifiers(struct mlx5_flow_rule *dst, mutex_unlock(&dst->clients_lock); err = iter_handler->add_dst_cb(dst, is_new_rule, - NULL, + data, iter_handler->client_context); if (err) break; |