aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ioat/ioat_test.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2015-10-31 20:38:06 +0000
committerConrad Meyer <cem@FreeBSD.org>2015-10-31 20:38:06 +0000
commitfaefad9c125a9478dd46ccadd0b20a2c825de803 (patch)
treef60b5af17308168bbe0df04d1b3dc94dd38c0e56 /sys/dev/ioat/ioat_test.c
parent25a984748cf92f173499fac132bdcb42a52bc264 (diff)
Notes
Diffstat (limited to 'sys/dev/ioat/ioat_test.c')
-rw-r--r--sys/dev/ioat/ioat_test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ioat/ioat_test.c b/sys/dev/ioat/ioat_test.c
index 3b45e4875468f..a8311abf8a48b 100644
--- a/sys/dev/ioat/ioat_test.c
+++ b/sys/dev/ioat/ioat_test.c
@@ -166,11 +166,14 @@ ioat_compare_ok(struct test_transaction *tx)
}
static void
-ioat_dma_test_callback(void *arg)
+ioat_dma_test_callback(void *arg, int error)
{
struct test_transaction *tx;
struct ioat_test *test;
+ if (error != 0)
+ ioat_test_log(0, "%s: Got error: %d\n", __func__, error);
+
tx = arg;
test = tx->test;