[igt-dev] [PATCH i-g-t v4 4/4] lib/xe_spin.c: fixed checkpatch issue

Marcin Bernatowicz marcin.bernatowicz at linux.intel.com
Fri Sep 8 12:54:54 UTC 2023


fixed checkpatch reported error

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>
---
 lib/xe/xe_spin.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/xe/xe_spin.c b/lib/xe/xe_spin.c
index d8e2c07aa..f0d77aed3 100644
--- a/lib/xe/xe_spin.c
+++ b/lib/xe/xe_spin.c
@@ -165,7 +165,8 @@ bool xe_spin_started(struct xe_spin *spin)
  */
 void xe_spin_wait_started(struct xe_spin *spin)
 {
-	while(!xe_spin_started(spin));
+	while (!xe_spin_started(spin))
+		;
 }
 
 void xe_spin_end(struct xe_spin *spin)
-- 
2.30.2



More information about the igt-dev mailing list