[PATCH] drm/i915/migrate: fix semicolon.cocci warnings

kernel test robot lkp at intel.com
Sat Apr 16 14:39:43 UTC 2022


From: kernel test robot <lkp at intel.com>

drivers/gpu/drm/i915/gt/intel_migrate.c:643:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: da0595ae91da ("drm/i915/migrate: Evict and restore the flatccs capable lmem obj")
Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: kernel test robot <lkp at intel.com>
---

tree:   git://anongit.freedesktop.org/drm-intel for-linux-next-gt
head:   bcfc713f11f957711f9494f69c740b95ed335d57
commit: da0595ae91da837929a00470ab40546090e5b9ae [9/9] drm/i915/migrate: Evict and restore the flatccs capable lmem obj
:::::: branch date: 14 hours ago
:::::: commit date: 2 days ago

 drivers/gpu/drm/i915/gt/intel_migrate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/i915/gt/intel_migrate.c
+++ b/drivers/gpu/drm/i915/gt/intel_migrate.c
@@ -640,7 +640,7 @@ static int scatter_list_length(struct sc
 	while (sg && sg_dma_len(sg)) {
 		len += sg_dma_len(sg);
 		sg = sg_next(sg);
-	};
+	}
 
 	return len;
 }


More information about the dri-devel mailing list