All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH i-g-t 1/6] tests/api_intel_allocator: Fix build warning
@ 2021-11-19 12:59 ` Tvrtko Ursulin
  0 siblings, 0 replies; 31+ messages in thread
From: Tvrtko Ursulin @ 2021-11-19 12:59 UTC (permalink / raw)
  To: igt-dev; +Cc: Intel-gfx

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

.../tests/i915/api_intel_allocator.c: In function ‘basic_alloc’:
.../tests/i915/api_intel_allocator.c:158:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  158 |                         if (j == i)
      |                         ^~

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
 tests/i915/api_intel_allocator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/api_intel_allocator.c b/tests/i915/api_intel_allocator.c
index 4b74317ed3d0..6d7764ca3f51 100644
--- a/tests/i915/api_intel_allocator.c
+++ b/tests/i915/api_intel_allocator.c
@@ -157,7 +157,7 @@ static void basic_alloc(int fd, int cnt, uint8_t type)
 		for (j = 0; j < cnt; j++) {
 			if (j == i)
 				continue;
-				igt_assert(!overlaps(&obj[i], &obj[j]));
+			igt_assert(!overlaps(&obj[i], &obj[j]));
 		}
 	}
 
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2021-12-01 10:06 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 12:59 [Intel-gfx] [PATCH i-g-t 1/6] tests/api_intel_allocator: Fix build warning Tvrtko Ursulin
2021-11-19 12:59 ` [igt-dev] " Tvrtko Ursulin
2021-11-19 12:59 ` [Intel-gfx] [PATCH i-g-t 2/6] igt/drm_read: " Tvrtko Ursulin
2021-11-19 12:59 ` [Intel-gfx] [PATCH i-g-t 3/6] igt/core: " Tvrtko Ursulin
2021-11-19 12:59   ` [igt-dev] " Tvrtko Ursulin
2021-11-19 13:53   ` [Intel-gfx] " Petri Latvala
2021-11-19 15:34     ` Tvrtko Ursulin
2021-11-19 15:34       ` [igt-dev] " Tvrtko Ursulin
2021-11-19 15:41       ` [Intel-gfx] " Petri Latvala
2021-11-19 15:54         ` [Intel-gfx] [igt-dev] " Petri Latvala
2021-11-19 15:54           ` Petri Latvala
2021-11-22  9:03           ` [Intel-gfx] " Tvrtko Ursulin
2021-11-22  9:03             ` Tvrtko Ursulin
2021-11-19 12:59 ` [Intel-gfx] [PATCH i-g-t 4/6] igt/drm_read: " Tvrtko Ursulin
2021-11-19 12:59   ` [igt-dev] " Tvrtko Ursulin
2021-11-19 12:59 ` [Intel-gfx] [PATCH i-g-t 5/6] intel_gpu_top: Remove clients support Tvrtko Ursulin
2021-11-19 12:59   ` [igt-dev] " Tvrtko Ursulin
2021-11-26 13:07   ` [Intel-gfx] " Tvrtko Ursulin
2021-11-26 14:01     ` Petri Latvala
2021-11-26 14:01       ` Petri Latvala
2021-11-26 14:16       ` [Intel-gfx] " Tvrtko Ursulin
2021-11-26 14:16         ` Tvrtko Ursulin
2021-11-19 12:59 ` [Intel-gfx] [PATCH i-g-t 6/6] intel_gpu_top: Add a sanity check discovered busy metric is per engine Tvrtko Ursulin
2021-11-19 12:59   ` [igt-dev] " Tvrtko Ursulin
2021-12-01  2:20   ` [Intel-gfx] " Rogozhkin, Dmitry V
2021-12-01  2:20     ` [igt-dev] " Rogozhkin, Dmitry V
2021-12-01 10:06     ` [Intel-gfx] " Tvrtko Ursulin
2021-11-19 13:38 ` [igt-dev] ✗ Fi.CI.BUILD: failure for series starting with [i-g-t,1/6] tests/api_intel_allocator: Fix build warning Patchwork
2021-11-19 13:56 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
2021-11-22  5:58 ` [Intel-gfx] [PATCH i-g-t 1/6] " Zbigniew Kempczyński
2021-11-22  5:58   ` [igt-dev] " Zbigniew Kempczyński

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.