mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
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
This commit is contained in:
parent
6e83504c60
commit
04e0313a71
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue