Skip to content

Commit

Permalink
ztest: use ASSERT3P to compare pointers
Browse files Browse the repository at this point in the history
Fixes i386-gcc13 build.  Direct commit while waiting for upstream.

Pull Request: openzfs/zfs#16115
  • Loading branch information
brooksdavis authored and bsdjhb committed Aug 9, 2024
2 parents 8ec707d + 04e0313 commit 2e1622a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/contrib/openzfs/cmd/ztest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2e1622a

Please sign in to comment.