git: 04e0313a7158 - main - ztest: use ASSERT3P to compare pointers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Apr 2024 21:40:17 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=04e0313a7158f3d8623228f10da969bb21abc568 commit 04e0313a7158f3d8623228f10da969bb21abc568 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-04-19 21:31:53 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-04-19 21:31:53 +0000 ztest: use ASSERT3P to compare pointers Fixes i386-gcc13 build. Direct commit while waiting for upstream. Pull Request: https://github.com/openzfs/zfs/pull/16115 --- sys/contrib/openzfs/cmd/ztest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/openzfs/cmd/ztest.c b/sys/contrib/openzfs/cmd/ztest.c index 684ab586bb93..b0fea8b3cfb4 100644 --- a/sys/contrib/openzfs/cmd/ztest.c +++ b/sys/contrib/openzfs/cmd/ztest.c @@ -8045,7 +8045,7 @@ ztest_raidz_expand_run(ztest_shared_t *zs, spa_t *spa) ztest_expand_io_t *thread_args; ASSERT3U(ztest_opts.zo_raidz_expand_test, !=, RAIDZ_EXPAND_NONE); - ASSERT3U(rzvd->vdev_ops, ==, &vdev_raidz_ops); + ASSERT3P(rzvd->vdev_ops, ==, &vdev_raidz_ops); ztest_opts.zo_raidz_expand_test = RAIDZ_EXPAND_STARTED; /* Setup a 1 MiB buffer of random data */