All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lyude <lyude@redhat.com>
To: nouveau@lists.freedesktop.org, igt-dev@lists.freedesktop.org
Cc: Martin Peres <martin.peres@free.fr>, Ben Skeggs <bskeggs@redhat.com>
Subject: [igt-dev] [PATCH i-g-t 2/7] lib/drmtest: And use do_or_die() in do_ioctl()
Date: Wed, 17 Mar 2021 18:49:44 -0400	[thread overview]
Message-ID: <20210317224949.448284-3-lyude@redhat.com> (raw)
In-Reply-To: <20210317224949.448284-1-lyude@redhat.com>

From: Lyude Paul <lyude@redhat.com>

No need to use igt_assert_eq() here now that do_or_die() uses
igt_assert_eq()

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Martin Peres <martin.peres@free.fr>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Jeremy Cline <jcline@redhat.com>
---
 lib/drmtest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/drmtest.h b/lib/drmtest.h
index 789452ea..c4b15a26 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -125,7 +125,7 @@ bool is_vc4_device(int fd);
  * successfully executed.
  */
 #define do_ioctl(fd, ioc, ioc_data) do { \
-	igt_assert_eq(igt_ioctl((fd), (ioc), (ioc_data)), 0); \
+	do_or_die(igt_ioctl((fd), (ioc), (ioc_data))); \
 	errno = 0; \
 } while (0)
 
-- 
2.29.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

WARNING: multiple messages have this Message-ID (diff)
From: Lyude <lyude@redhat.com>
To: nouveau@lists.freedesktop.org, igt-dev@lists.freedesktop.org
Cc: Ben Skeggs <bskeggs@redhat.com>
Subject: [Nouveau] [PATCH i-g-t 2/7] lib/drmtest: And use do_or_die() in do_ioctl()
Date: Wed, 17 Mar 2021 18:49:44 -0400	[thread overview]
Message-ID: <20210317224949.448284-3-lyude@redhat.com> (raw)
In-Reply-To: <20210317224949.448284-1-lyude@redhat.com>

From: Lyude Paul <lyude@redhat.com>

No need to use igt_assert_eq() here now that do_or_die() uses
igt_assert_eq()

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Martin Peres <martin.peres@free.fr>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Jeremy Cline <jcline@redhat.com>
---
 lib/drmtest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/drmtest.h b/lib/drmtest.h
index 789452ea..c4b15a26 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -125,7 +125,7 @@ bool is_vc4_device(int fd);
  * successfully executed.
  */
 #define do_ioctl(fd, ioc, ioc_data) do { \
-	igt_assert_eq(igt_ioctl((fd), (ioc), (ioc_data)), 0); \
+	do_or_die(igt_ioctl((fd), (ioc), (ioc_data))); \
 	errno = 0; \
 } while (0)
 
-- 
2.29.2

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2021-03-17 22:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17 22:49 [igt-dev] [PATCH i-g-t 0/7] lib: Miscellaneous cleanups from nouveau work Lyude
2021-03-17 22:49 ` [Nouveau] " Lyude
2021-03-17 22:49 ` [igt-dev] [PATCH i-g-t 1/7] lib/drmtest: Use igt_assert_eq() for do_or_die() Lyude
2021-03-17 22:49   ` [Nouveau] " Lyude
2021-03-18  9:32   ` [igt-dev] " Petri Latvala
2021-03-18  9:32     ` [Nouveau] " Petri Latvala
2021-03-17 22:49 ` Lyude [this message]
2021-03-17 22:49   ` [Nouveau] [PATCH i-g-t 2/7] lib/drmtest: And use do_or_die() in do_ioctl() Lyude
2021-03-17 22:49 ` [igt-dev] [PATCH i-g-t 3/7] lib/drmtest: Remove i915 refs in do_ioctl*() docs Lyude
2021-03-17 22:49   ` [Nouveau] " Lyude
2021-03-17 22:49 ` [igt-dev] [PATCH i-g-t 4/7] lib/igt_fb: Remove domain from igt_fb Lyude
2021-03-17 22:49   ` [Nouveau] " Lyude
2021-03-18 12:49   ` [igt-dev] " Ville Syrjälä
2021-03-18 12:49     ` [Nouveau] " Ville Syrjälä
2021-03-17 22:49 ` [igt-dev] [PATCH i-g-t 5/7] lib/debugfs: Fix igt_crc_t docs to mention has_valid_frame Lyude
2021-03-17 22:49   ` [Nouveau] " Lyude
2021-03-17 22:49 ` [igt-dev] [PATCH i-g-t 6/7] lib/igt_aux: Print name of debug var in igt_debug_wait_for_keypress() Lyude
2021-03-17 22:49   ` [Nouveau] " Lyude
2021-03-17 22:49 ` [igt-dev] [PATCH i-g-t 7/7] lib/debugfs: Fix function name in igt_pipe_crc_get_for_frame() docs Lyude
2021-03-17 22:49   ` [Nouveau] " Lyude
2021-03-18  1:33 ` [igt-dev] ✓ Fi.CI.BAT: success for lib: Miscellaneous cleanups from nouveau work Patchwork
2021-03-18  5:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-03-18  6:48 ` [igt-dev] [PATCH i-g-t 0/7] " Martin Peres
2021-03-18  6:48   ` [Nouveau] " Martin Peres
2021-03-18  9:38 ` Petri Latvala
2021-03-18  9:38   ` [Nouveau] " Petri Latvala

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=20210317224949.448284-3-lyude@redhat.com \
    --to=lyude@redhat.com \
    --cc=bskeggs@redhat.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=martin.peres@free.fr \
    --cc=nouveau@lists.freedesktop.org \
    /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.