From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C353C433E6 for ; Wed, 17 Mar 2021 22:50:12 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E9F1364F30 for ; Wed, 17 Mar 2021 22:50:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9F1364F30 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=nouveau-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A2AA6E04E; Wed, 17 Mar 2021 22:50:11 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 80F146E04E for ; Wed, 17 Mar 2021 22:50:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616021409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hOL0WAKyqW1Tf3OeEtSalUKSLYMY2WIX/9OPhhjbobU=; b=ae6oifOBCe9Mhjnh33rgX7m4tLzOLEPTmmI3JKd7S1mMfumPfTqCPftlw+tozrbHWdukWP VMwjpM422PjII27ERar8+6yyFS1O4OCIPdyqLZaNg0oZs6x8vTaCJdWGxKkxXYPfhVRFZn C6TtE0nURtLNIrK4nKmQSIvq/nMCE4o= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-141-v9uj9Sp3NgOFoyWZw607ZQ-1; Wed, 17 Mar 2021 18:50:07 -0400 X-MC-Unique: v9uj9Sp3NgOFoyWZw607ZQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3F0408189C8; Wed, 17 Mar 2021 22:50:06 +0000 (UTC) Received: from Whitewolf.lyude.net (ovpn-119-60.rdu2.redhat.com [10.10.119.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5AEE7610F1; Wed, 17 Mar 2021 22:50:02 +0000 (UTC) From: Lyude To: nouveau@lists.freedesktop.org, igt-dev@lists.freedesktop.org Date: Wed, 17 Mar 2021 18:49:44 -0400 Message-Id: <20210317224949.448284-3-lyude@redhat.com> In-Reply-To: <20210317224949.448284-1-lyude@redhat.com> References: <20210317224949.448284-1-lyude@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lyude@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [Nouveau] [PATCH i-g-t 2/7] lib/drmtest: And use do_or_die() in do_ioctl() X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Skeggs Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" From: Lyude Paul No need to use igt_assert_eq() here now that do_or_die() uses igt_assert_eq() Signed-off-by: Lyude Paul Cc: Martin Peres Cc: Ben Skeggs Cc: Jeremy Cline --- 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