Date: Fri, 13 May 2022 17:58:42 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e994b6f6d365 - stable/13 - mlx5: Pass the correct data pointer to the add_dst_cb instead of NULL. Message-ID: <202205131758.24DHwgXM069417@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e994b6f6d3654447b213d6b77c6021e4521cad11 commit e994b6f6d3654447b213d6b77c6021e4521cad11 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-07 17:46:48 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-13 17:43:25 +0000 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 (cherry picked from commit ebb16d5e93934c27ccf4e54e780db0b80bd4142e) --- sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c index 5305991689ca..9568f23d5b8c 100644 --- a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c +++ b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c @@ -1523,7 +1523,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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205131758.24DHwgXM069417>