From 04e0313a7158f3d8623228f10da969bb21abc568 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 19 Apr 2024 22:31:53 +0100 Subject: [PATCH] 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 */