Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jd431-0008CC-K6 for mharc-qemu-trivial@gnu.org; Sun, 24 May 2020 23:45:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd42z-00087g-E1; Sun, 24 May 2020 23:45:05 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:33598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jd42y-0006vF-PT; Sun, 24 May 2020 23:45:05 -0400 Received: by mail-wr1-x444.google.com with SMTP id l11so15852594wru.0; Sun, 24 May 2020 20:45:03 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=jdIRLwa0ab05Cst8ONtq0+eHOzirKZG9j3qEtBls8q8=; b=X294QEMQkIEh2Ns4OZH2+M5N0cNj4/kIgMPBHtRkqsoNlnl4W+Be/rksfUoGGMP8hH iIIDHE7f7rvRqgLmh7ehOswMU2vVJNXXBBW6w4T+SlJ+LQBiF2aqpfOS+cIWWJJKxXB7 o2wFx5/2e0haIiGj07PgRWJqO2rbbNq+mDtuBqitoVS41xPFf6tx724wCuognHbKxIEL ag6o0CVPOqK+g8FWA/Oq5IfMqi1S41PhFuTvuDT7E2jS9U1WmGnGZKdBLnvBHRXmriEh m0kWXq6thCoP17j52R5NEgEtZajVCR/LrlmfeZJfWi6Y6tZF4fs112O821TaiIlmnNwc zEKA== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=jdIRLwa0ab05Cst8ONtq0+eHOzirKZG9j3qEtBls8q8=; b=TnttYc28Wm9Jn7H1VFzUIUkXfV5z63QrwuPpj9Imcq7z+3kwZKlAG0qFrCQnKefGcG 4qKYiHNgzZRoaJ97+8jD1sKYxanmeIMLGsoneoSfeSzBPZyw6RGcZNgJltA0QO0ZogSf JZp0OSYxscMEex+9yBKIW01EPz6O3JfIKnrop65Vbc1VjKVvEppoYDgeGJYUIiCyTEh4 myxlCE+NWTMjR8d7FrKnccVfXjV9qr/b0AXvnPMoTJ7NAYb0n2OHzVJHsx/ehdzXdpqE XKCOWeVQ8K9T041ZcSlOeUDH2/hyei8xvwxEojf0cDsE2EQlrdBxIELKRDKh97gpQLpA IifQ== X-Gm-Message-State: AOAM531c2wJv40e9NFmvaATo2BQ5JWXDJveEzaiRwon194NuiUqXm8GB 4PIoC0QIMUb4CizWZiRcfM67Ss4i27s= X-Google-Smtp-Source: ABdhPJz2hMMhnoqEvZipw8yskJT5emgg+7m6Ky47vuHVTdSqu6R/F+M9+HrksFbSc6hk7kXWIm+qNg== X-Received: by 2002:a5d:6a83:: with SMTP id s3mr13612103wru.308.1590378302429; Sun, 24 May 2020 20:45:02 -0700 (PDT) Received: from localhost.localdomain (71.red-88-21-204.staticip.rima-tde.net. [88.21.204.71]) by smtp.gmail.com with ESMTPSA id n9sm17555150wmj.5.2020.05.24.20.45.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2020 20:45:01 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , "Edgar E. Iglesias" , qemu-trivial@nongnu.org, Alistair Francis , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/4] hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf Date: Mon, 25 May 2020 05:44:56 +0200 Message-Id: <20200525034459.28535-2-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200525034459.28535-1-f4bug@amsat.org> References: <20200525034459.28535-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x444.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-trivial@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 03:45:06 -0000 Convert the deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP). Signed-off-by: Philippe Mathieu-Daudé --- hw/misc/auxbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c index f8e7b97971..06aabf20c5 100644 --- a/hw/misc/auxbus.c +++ b/hw/misc/auxbus.c @@ -196,7 +196,7 @@ AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, } break; default: - DPRINTF("Not implemented!\n"); + qemu_log_mask(LOG_UNIMP, "AUX cmd=%u not implemented\n", cmd); return AUX_NACK; } -- 2.21.3