All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/selftests: Initialise ret
@ 2019-10-28 14:26 ` Chris Wilson
  0 siblings, 0 replies; 14+ messages in thread
From: Chris Wilson @ 2019-10-28 14:26 UTC (permalink / raw)
  To: intel-gfx

Keep smatch quiet,

drivers/gpu/drm/i915//gem/selftests/i915_gem_context.c:1268 __igt_ctx_sseu() error: uninitialized symbol 'ret'.
drivers/gpu/drm/i915//gem/selftests/i915_gem_context.c:1280 __igt_ctx_sseu() error: uninitialized symbol 'ret'.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
index d1d873f23338..c6e61564bb5e 100644
--- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
+++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
@@ -1188,7 +1188,7 @@ __igt_ctx_sseu(struct drm_i915_private *i915,
 {
 	struct drm_i915_gem_object *obj;
 	int inst = 0;
-	int ret;
+	int ret = 0;
 
 	if (INTEL_GEN(i915) < 9 || !RUNTIME_INFO(i915)->sseu.has_slice_pg)
 		return 0;
-- 
2.24.0.rc1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2019-10-29 13:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-28 14:26 [PATCH 1/2] drm/i915/selftests: Initialise ret Chris Wilson
2019-10-28 14:26 ` [Intel-gfx] " Chris Wilson
2019-10-28 14:26 ` [PATCH 2/2] drm/i915/display: Mark conn as initialised by iterator Chris Wilson
2019-10-28 14:26   ` [Intel-gfx] " Chris Wilson
2019-10-28 14:55   ` Mika Kuoppala
2019-10-28 14:55     ` [Intel-gfx] " Mika Kuoppala
2019-10-28 14:52 ` [PATCH 1/2] drm/i915/selftests: Initialise ret Mika Kuoppala
2019-10-28 14:52   ` [Intel-gfx] " Mika Kuoppala
2019-10-28 17:58 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] " Patchwork
2019-10-28 17:58   ` [Intel-gfx] " Patchwork
2019-10-28 18:20 ` ✓ Fi.CI.BAT: success " Patchwork
2019-10-28 18:20   ` [Intel-gfx] " Patchwork
2019-10-29 13:16 ` ✓ Fi.CI.IGT: " Patchwork
2019-10-29 13:16   ` [Intel-gfx] " Patchwork

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.