From patchwork Tue Jan 27 11:17:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5716451 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 07715C058D for ; Tue, 27 Jan 2015 11:17:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49272201BB for ; Tue, 27 Jan 2015 11:17:09 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 7BD3920142 for ; Tue, 27 Jan 2015 11:17:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 941AB6E521; Tue, 27 Jan 2015 03:17:07 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 01D976E521 for ; Tue, 27 Jan 2015 03:17:05 -0800 (PST) Received: by mail-wg0-f49.google.com with SMTP id k14so14125817wgh.8 for ; Tue, 27 Jan 2015 03:17:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=lrNwqb4kCL3gw5EtM3x1PMUYSdrcjrfLxlSH+PDWb6w=; b=fUbziWIB4aTLg+DybnteWnLGWLEFgqRSAXkF67+FAchwyFN3CqmC1gVOkSEHXW4Jx5 lajJdqNa7ufZ0BzWKLZJw0l2xjNNCiS17zXjruOht+4OPq346FJLGG1BxkX0wHzXT1Uv hhPwwjRgPraNZ67of34JUkhSxsgs48wZSQRUkuNNvzWXc4k/aZ4L8QhrwhDY12UfUPSa gGnWdNcIZFwlmQYEJaINlSVSC0i4TTfSPPjYet/LMkYqZk3oqvu0sPlHct2O7G7DP5mR DcTnnPWWNru4QqSavj9qrAgMsn9irVScfC6857vXytqLF4LHlJAOdg6BId+Ctu8aZSc+ +49g== X-Gm-Message-State: ALoCoQm48scIEZ+aWxJbWnwJfjlv6N7wCUndys7Ni/QL1l7Dh046IpTpIctlMkXzt1kZUKBEuZHY X-Received: by 10.180.74.114 with SMTP id s18mr4891054wiv.29.1422357425236; Tue, 27 Jan 2015 03:17:05 -0800 (PST) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id x18sm1739020wia.12.2015.01.27.03.17.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jan 2015 03:17:03 -0800 (PST) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Tue, 27 Jan 2015 11:17:00 +0000 Message-Id: <1422357422-4315-1-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [Intel-gfx] [PATCH i-g-t 1/3] lib: warning messages should be sent to stderr X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is a regression from commit df11a0f (lib: add a critical warning level). Signed-off-by: Thomas Wood --- lib/igt_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index 7b47b32..2692fe4 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1522,7 +1522,7 @@ void igt_vlog(const char *domain, enum igt_log_level level, const char *format, return; } - if (level > IGT_LOG_WARN) { + if (level >= IGT_LOG_WARN) { file = stderr; fflush(stdout); }