From patchwork Sun May 24 10:38:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 282002 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=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT 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 3E7A9C433E0 for ; Sun, 24 May 2020 10:39:23 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 058BB2076C for ; Sun, 24 May 2020 10:39:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SIhhXM4w" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 058BB2076C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:46758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jco2M-0003N0-8R for qemu-devel@archiver.kernel.org; Sun, 24 May 2020 06:39:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jco1f-0002jr-7D; Sun, 24 May 2020 06:38:39 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:56186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jco1e-0004S2-8K; Sun, 24 May 2020 06:38:38 -0400 Received: by mail-wm1-x343.google.com with SMTP id c71so2370418wmd.5; Sun, 24 May 2020 03:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xv8ZA3fcUN8kM/s02kASb+D+Ei0KDbMU50VMBXHzoSE=; b=SIhhXM4wgwVlI4cuHyQpklStTQeh0Pdq9F4pPBRupwUR6mJtyLttXJBWzOqjnp9iC4 5uEj0YCrK06BkerjHJ2eBLEwNhabYzaXwVXg0+QFClZkrQ+EaPq2eXLR+4zcIPQjJLVQ dlgWY0/t94iEfaIKk1SKJo+36dAJoL4g8fHFE226nIACE4S38QPhsFnVD5jgMYsv0BYG wTpqC6VMnLka2ntquHWOdHi42sHNWcAWnOPC9mUVT1nOP2cpvdZi4GvnZoSDzl57ZRBu FJWSZ2J24t+3UymcBbr4zcLdeCoZTBqB7BgxTZjL56r2MbAicWzE6pZzMiu0xvaNsqGL IkqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=xv8ZA3fcUN8kM/s02kASb+D+Ei0KDbMU50VMBXHzoSE=; b=Y2USKM11wMKLZhmbGdNe+fQoiadFEJMM09SMJs6XbqTmGlYLzQEvOjYxics7/FOluf kSVCl7TukhbxPMHB0OXpdK4bKJIYB0JBJl/cGJNBOP+4ryfdGe5MDWjfpL3ePPgsPdJa HTCHniwILzvn/JJYj2aSL83Af1hu3kW44UphxaueOE6K5fiaqQALCYWC74+LNCUXg3zf TWUYd+Q9UB+uyQSnan56wpJaCvC+xtV++QKE1Ecn7t0rNSgLqsjOjHtC9U0mXGxuH0mr lYbmL5UBG1/iKA+UbVyH+kMC3yP9iKuhDnFdT/1NiMeieRrpRdSQx13v+d6fU7P95s02 4+CQ== X-Gm-Message-State: AOAM5317lyc5i0W7bSBnU635PLUAJjcHLKt9IT9ADhPjML9esYM5Vtvk B6wginGiktHz+GY2aAKQNDNEE+YioOk= X-Google-Smtp-Source: ABdhPJzGv1COd3G/rdzMYUi2UGbB04rk4zyBHemXGDSD7Ae4+F8yA6mtS/OEN6lqovy6as6JtKX/Mw== X-Received: by 2002:a1c:1d94:: with SMTP id d142mr872506wmd.42.1590316715790; Sun, 24 May 2020 03:38:35 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id k17sm1141504wrp.28.2020.05.24.03.38.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2020 03:38:35 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP) Date: Sun, 24 May 2020 12:38:33 +0200 Message-Id: <20200524103833.8188-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x343.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Alexander Bulekov , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Replace fprintf() call by qemu_log_mask(LOG_UNIMP), which is disabled by default. This avoid flooding the terminal when fuzzing the device. Signed-off-by: Philippe Mathieu-Daudé --- hw/display/omap_dss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/omap_dss.c b/hw/display/omap_dss.c index 32dc0d6aa7..21fde58a26 100644 --- a/hw/display/omap_dss.c +++ b/hw/display/omap_dss.c @@ -619,7 +619,7 @@ static void omap_rfbi_transfer_start(struct omap_dss_s *s) if (s->rfbi.control & (1 << 1)) { /* BYPASS */ /* TODO: in non-Bypass mode we probably need to just assert the * DRQ and wait for DMA to write the pixels. */ - fprintf(stderr, "%s: Bypass mode unimplemented\n", __func__); + qemu_log_mask(LOG_UNIMP, "%s: Bypass mode unimplemented\n", __func__); return; }