[PATCH igt] lib/igt_dummyload: Use -1 for all engines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Random change when it copied broke the interface I was using.

Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
---
 lib/igt_dummyload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c
index c3516b96..d19b4e5e 100644
--- a/lib/igt_dummyload.c
+++ b/lib/igt_dummyload.c
@@ -86,7 +86,7 @@ static void emit_recursive_batch(igt_spin_t *spin,
 	int i;
 
 	nengine = 0;
-	if (engine < 0) {
+	if (engine == -1) {
 		for_each_engine(fd, engine)
 			if (engine)
 				engines[nengine++] = engine;
-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux