All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Ditch the i915_gem_ww_ctx loop member (rev2)
Date: Tue, 17 Aug 2021 14:53:28 -0000	[thread overview]
Message-ID: <162921200848.22609.10725221747644486213@emeril.freedesktop.org> (raw)
In-Reply-To: <20210816171444.105469-1-thomas.hellstrom@linux.intel.com>

== Series Details ==

Series: drm/i915: Ditch the i915_gem_ww_ctx loop member (rev2)
URL   : https://patchwork.freedesktop.org/series/93711/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
32dc940d3e7e drm/i915: Ditch the i915_gem_ww_ctx loop member
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_ww' - possible side-effects?
#70: FILE: drivers/gpu/drm/i915/i915_gem_ww.h:37:
+#define for_i915_gem_ww(_ww, _err, _intr)			  \
+	for (i915_gem_ww_ctx_init(_ww, _intr), (_err) = -EDEADLK; \
+	     (_err) == -EDEADLK;				  \
+	     (_err) = __i915_gem_ww_fini(_ww, _err))

-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_err' - possible side-effects?
#70: FILE: drivers/gpu/drm/i915/i915_gem_ww.h:37:
+#define for_i915_gem_ww(_ww, _err, _intr)			  \
+	for (i915_gem_ww_ctx_init(_ww, _intr), (_err) = -EDEADLK; \
+	     (_err) == -EDEADLK;				  \
+	     (_err) = __i915_gem_ww_fini(_ww, _err))

total: 0 errors, 0 warnings, 2 checks, 47 lines checked



  reply	other threads:[~2021-08-17 14:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 17:14 [PATCH v2] drm/i915: Ditch the i915_gem_ww_ctx loop member Thomas Hellström
2021-08-16 17:14 ` [Intel-gfx] " Thomas Hellström
2021-08-17 14:53 ` Patchwork [this message]
2021-08-17 15:23 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Ditch the i915_gem_ww_ctx loop member (rev2) Patchwork
2021-08-17 17:27 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-08-19 13:40   ` Matthew Auld
2021-08-19 17:19     ` Vudum, Lakshminarayana
2021-08-18 11:55 ` [PATCH v2] drm/i915: Ditch the i915_gem_ww_ctx loop member Matthew Auld
2021-08-18 11:55   ` [Intel-gfx] " Matthew Auld
2021-08-19 17:13 ` [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Ditch the i915_gem_ww_ctx loop member (rev2) Patchwork

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=162921200848.22609.10725221747644486213@emeril.freedesktop.org \
    --to=patchwork@emeril.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=thomas.hellstrom@linux.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: link
Be 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.