All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] DRM: i915: i915_perf: Fixed compiler warning
@ 2021-08-09  2:33 ` Julius Victorian
  0 siblings, 0 replies; 5+ messages in thread
From: Julius Victorian @ 2021-08-09  2:33 UTC (permalink / raw)
  To: airlied
  Cc: jani.nikula, joonas.lahtinen, linux-kernel, rodrigo.vivi, daniel,
	intel-gfx, dri-devel, Julius

From: Julius <julius.victorian.home@gmail.com>

Fixed compiler warning: "left shift of negative value"

Signed-off-by: Julius Victorian <julius.victorian.home@gmail.com>
---
 drivers/gpu/drm/i915/i915_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index 9f94914958c3..7b852974241e 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -2804,7 +2804,7 @@ get_default_sseu_config(struct intel_sseu *out_sseu,
 		 * all available subslices per slice.
 		 */
 		out_sseu->subslice_mask =
-			~(~0 << (hweight8(out_sseu->subslice_mask) / 2));
+			~(~0U << (hweight8(out_sseu->subslice_mask) / 2));
 		out_sseu->slice_mask = 0x1;
 	}
 }
-- 
2.30.2


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

end of thread, other threads:[~2021-08-10 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  2:33 [PATCH] DRM: i915: i915_perf: Fixed compiler warning Julius Victorian
2021-08-09  2:33 ` [Intel-gfx] " Julius Victorian
2021-08-09 14:52 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2021-08-09 15:21 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2021-08-10 11:02 ` [Intel-gfx] [PATCH] " Lionel Landwerlin

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.