summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_qbman/bman_test_high.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/fsl_qbman/bman_test_high.c')
-rw-r--r--drivers/staging/fsl_qbman/bman_test_high.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/fsl_qbman/bman_test_high.c b/drivers/staging/fsl_qbman/bman_test_high.c
index 7bdd181..4676fb0 100644
--- a/drivers/staging/fsl_qbman/bman_test_high.c
+++ b/drivers/staging/fsl_qbman/bman_test_high.c
@@ -165,7 +165,9 @@ do_loop:
BUG_ON(tmp != num);
i -= num;
}
- i = bman_acquire(pool, NULL, 1, 0);
+
+ struct bm_buffer tmp_buf;
+ i = bman_acquire(pool, &tmp_buf, 1, 0);
BUG_ON(i > 0);
bufs_confirm();