From: Julius Victorian <julius.victorian.home@gmail.com> To: airlied@linux.ie Cc: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, linux-kernel@vger.kernel.org, rodrigo.vivi@intel.com, daniel@ffwll.ch, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Julius <julius.victorian.home@gmail.com> Subject: [PATCH] DRM: i915: i915_perf: Fixed compiler warning Date: Sun, 8 Aug 2021 22:33:42 -0400 [thread overview] Message-ID: <20210809023342.377422-1-julius.victorian.home@gmail.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Julius Victorian <julius.victorian.home@gmail.com> To: airlied@linux.ie Cc: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, linux-kernel@vger.kernel.org, rodrigo.vivi@intel.com, daniel@ffwll.ch, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Julius <julius.victorian.home@gmail.com> Subject: [Intel-gfx] [PATCH] DRM: i915: i915_perf: Fixed compiler warning Date: Sun, 8 Aug 2021 22:33:42 -0400 [thread overview] Message-ID: <20210809023342.377422-1-julius.victorian.home@gmail.com> (raw) 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
next reply other threads:[~2021-08-09 2:34 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-09 2:33 Julius Victorian [this message] 2021-08-09 2:33 ` [Intel-gfx] [PATCH] DRM: i915: i915_perf: Fixed compiler warning 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210809023342.377422-1-julius.victorian.home@gmail.com \ --to=julius.victorian.home@gmail.com \ --cc=airlied@linux.ie \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=intel-gfx@lists.freedesktop.org \ --cc=jani.nikula@linux.intel.com \ --cc=joonas.lahtinen@linux.intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=rodrigo.vivi@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.