From nobody Fri May 13 17:58:42 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 45D7B1AE8DF7; Fri, 13 May 2022 17:58:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L0Gbk6WlFz4WwP; Fri, 13 May 2022 17:58:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652464723; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RA44U+VVKGT/nCrNwLmG9LdZ+xyZdh5PGLBHUs2y7gE=; b=Misi9906AY+ttY54ZssMNPMfJDYVSWMT/e/VLwmDS7NyfqqqoqV79wY0pb7OEiB2FyyT/f 1YJ41f5AuCAWFmWe3pZq0f5BIVihs/UszD6KlZM9jNgx4Cd7Afi+HE0qrCrVgp7B0r4g5o bAmqc8HMuUVA/2aT8bQ+tV5U6964IZee+BkRwDIPKldloYHu12B7nvTGe2ajnSsLd1X2gA GqfCi5dDnp8C5OMU1VNQy77R1oA593cgmXF0VpgBNFpY+3kt7jXI2g5dOw7XndFYGgWQYl 8LjNtcLFVwavK+8u7i4fA1euDab1vahjDZtQr4XQBeN8Josw1yqB84g7NESohQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9DBBF27435; Fri, 13 May 2022 17:58:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DHwgwj069418; Fri, 13 May 2022 17:58:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DHwgXM069417; Fri, 13 May 2022 17:58:42 GMT (envelope-from git) Date: Fri, 13 May 2022 17:58:42 GMT Message-Id: <202205131758.24DHwgXM069417@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: e994b6f6d365 - stable/13 - mlx5: Pass the correct data pointer to the add_dst_cb instead of NULL. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e994b6f6d3654447b213d6b77c6021e4521cad11 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652464723; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RA44U+VVKGT/nCrNwLmG9LdZ+xyZdh5PGLBHUs2y7gE=; b=oDpyReWiETvxqyO/XVfqMK3JfzFRZy8P2khdiF/CL4Cqdos1MPi+27j+eC7yWyOUR4noSU r/cEQTgsbJ55fRXR7jgHi2n4juQsogKQ7qfmx95KJl70w4p1VrfAfMmNwLINrDWDSxyaoo FvEVWdws/4DnoWd5pd7yO/3gYjUD7aI6d0U//bMP6M+DFutDBT8ZpkD+fd5UWXKpjEHvyH KbKfnE6lM/inzoBtNgo5HcKqavBPxMMPkXIlPXD2JXg169u9JpkJ89uGJs7gvhFj3UQJFa +X8xY/33IbKhx/UhHUEq0V0DVv+XZ6DdUU+9aexS1Zp1I6tb4BsD3BsKQHsb/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652464723; a=rsa-sha256; cv=none; b=rWuMnJmu/4qJvZdPFKTOVokqg+VHefUrhO22aNT+zIqInW8Ag/3OFOcWBLZ68DJgg+VKKs pOfiFtBwwY9A2ZimgQDMMTnwoW2a9RNoUunc/ebtn0nmj+evAu3d38sSpEI0CC0z3xz6uf He17TS+Cmgb4vI50M8XDnu8oqyzOUxVeOd2DL2jrv1bnEZnUSLNmU3stcer+xndUXLLnaG ARHrPR8mSgqkd4L1cGeg58qNyvj41U9u8I29QADJiEZmR8p+ZCfZ5o0gP0d8R70CBdMQX7 wfQuV/LjDI9froaSrJBLY/e3r5UyeK4Lm9lJVRHN3KlEnEf3537A4x4QrsPRcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e994b6f6d3654447b213d6b77c6021e4521cad11 commit e994b6f6d3654447b213d6b77c6021e4521cad11 Author: John Baldwin AuthorDate: 2022-04-07 17:46:48 +0000 Commit: John Baldwin 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;