From nobody Fri Nov 14 21:39:24 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1590490080; cv=none; d=zohomail.com; s=zohoarc; b=hefpQlB98TceI4A5/nqvk5qeDSotgu4g5wv07VqqexaKyD6lj4N7x9dt2W0Rfx9e/4RsCBpsw6q4h4b8SHs1LQzt7YWvuTYhuufxql430cwvTVzOCnD2geUSz84LhXf70Rc/rzBo3yeQcSPgQ9I4jciDXDFsZOQjZ91/8V+T8/A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590490080; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ggaqUitOgObz+chiNuLJcGpCPcKRZm0Lw0VDsUASAl4=; b=NsQUv1fhOGo7vsgcJ2FIrSD+vRGlrvWM8dVXUuJJXop5GqTHl/eKA3/PqIv/kq4VaL02ynn9T/rPxWH9haCKMTQJCyS/dnlDpmhyRYnqwxOHo6Fx8hNxbhw8spugg77BndJdDpYhmD7NO9K8IpHJnZSMSASr3a9vGSrDinwcKSs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1590490080008394.4207211869003; Tue, 26 May 2020 03:48:00 -0700 (PDT) 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-68-3cB0J0HDPm6mil6z_BlsOA-1; Tue, 26 May 2020 06:47:56 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BD2B564AD2; Tue, 26 May 2020 10:47:50 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A24055D9E5; Tue, 26 May 2020 10:47:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 72A681809547; Tue, 26 May 2020 10:47:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04QAljQb029825 for ; Tue, 26 May 2020 06:47:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1323E5EDC6; Tue, 26 May 2020 10:47:44 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1F5E95EDC0 for ; Tue, 26 May 2020 10:47:42 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 95C821859173 for ; Tue, 26 May 2020 10:47:42 +0000 (UTC) Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-91-8RxAl3ImMqSShHnTEQBI2A-1; Tue, 26 May 2020 06:47:34 -0400 Received: by mail-ed1-f65.google.com with SMTP id l5so17244698edn.7; Tue, 26 May 2020 03:47:33 -0700 (PDT) Received: from x1w.redhat.com (71.red-88-21-204.staticip.rima-tde.net. [88.21.204.71]) by smtp.gmail.com with ESMTPSA id c27sm3342597ejd.19.2020.05.26.03.47.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2020 03:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590490078; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ggaqUitOgObz+chiNuLJcGpCPcKRZm0Lw0VDsUASAl4=; b=QhiQSezBCoy7qiJ4d5+Y6Xlyg8umM0nRl/jB7nB8HGGpLW4YQ4Aet7xJD0FxEFWEn1G86u LFW9jDZYEBZEr1kdst0Gjh0eCXrBJk9t7AV5tOCRWBDcz9OayriTRZpo6rW+qC3oEXcKkh Iujj24g5f1lSZ+nhle+Eib/3qcXyVdE= X-MC-Unique: 3cB0J0HDPm6mil6z_BlsOA-1 X-MC-Unique: 8RxAl3ImMqSShHnTEQBI2A-1 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=ggaqUitOgObz+chiNuLJcGpCPcKRZm0Lw0VDsUASAl4=; b=jZUZd1lzW6g7IPXgCyA+/wGBB0pPk/HsC4JoxNAzbodGPkzUbTeQUhjumEb2LNrFEa T7k/gs7CKcDcQCJkCSzrCMyFwgRFKno4f/IDoV+Zu177q1vQYqXbn/HBQm/1i2pfge4N ZJD3D+LFn/NTTZoeVZ0AOA830NxCpsDX7PccyD1TxsPqJ1QCmNKA5KZh6bsF9IRH8nxU k3DQ/Hmw+jyaVD5HC+TD7JD9gUzgpvgRyf1lkthLr5ZcPYTlLuHFn8k98yaWKeZEeObG PE3fTxmoRJWI2WcYM0eGI8ezUTHQgMqvSg6mFMxwQibLRlqdpX6PwnvIqC2QI/WgQ56b aisQ== X-Gm-Message-State: AOAM531y5vZEXD9BekmZDPHKe8Tr4tAHl/Rwzg/m16jKqgJjY0NW42+i FZaJXRU0JBosf0PI9RtbESA= X-Google-Smtp-Source: ABdhPJxy5Yt4QNhV3OrxDn1sBvjeygkmnp3F2ZNlxu6gBtX2nm7wc63EgImf+9mXXhiPNaXynTIxZQ== X-Received: by 2002:a50:fa8d:: with SMTP id w13mr18251047edr.280.1590490052422; Tue, 26 May 2020 03:47:32 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 03/14] hw/pci-host/bonito: Fix DPRINTF() format strings Date: Tue, 26 May 2020 12:47:15 +0200 Message-Id: <20200526104726.11273-4-f4bug@amsat.org> In-Reply-To: <20200526104726.11273-1-f4bug@amsat.org> References: <20200526104726.11273-1-f4bug@amsat.org> MIME-Version: 1.0 X-Mimecast-Spam-Signature: yes X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Laurent Vivier , Aleksandar Rikalo , libvir-list@redhat.com, Thomas Huth , Jiaxun Yang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Markovic , Huacai Chen , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Reviewed-by: Huacai Chen Message-id: <20200510210128.18343-7-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/pci-host/bonito.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index f212796044..b874468ea6 100644 --- a/hw/pci-host/bonito.c +++ b/hw/pci-host/bonito.c @@ -239,7 +239,7 @@ static void bonito_writel(void *opaque, hwaddr addr, =20 saddr =3D addr >> 2; =20 - DPRINTF("bonito_writel "TARGET_FMT_plx" val %x saddr %x\n", + DPRINTF("bonito_writel "TARGET_FMT_plx" val %lx saddr %x\n", addr, val, saddr); switch (saddr) { case BONITO_BONPONCFG: @@ -327,7 +327,7 @@ static void bonito_pciconf_writel(void *opaque, hwaddr = addr, PCIBonitoState *s =3D opaque; PCIDevice *d =3D PCI_DEVICE(s); =20 - DPRINTF("bonito_pciconf_writel "TARGET_FMT_plx" val %x\n", addr, val); + DPRINTF("bonito_pciconf_writel "TARGET_FMT_plx" val %lx\n", addr, val); d->config_write(d, addr, val, 4); } =20 @@ -474,7 +474,7 @@ static void bonito_spciconf_write(void *opaque, hwaddr = addr, uint64_t val, uint32_t pciaddr; uint16_t status; =20 - DPRINTF("bonito_spciconf_write "TARGET_FMT_plx" size %d val %x\n", + DPRINTF("bonito_spciconf_write "TARGET_FMT_plx" size %d val %lx\n", addr, size, val); =20 pciaddr =3D bonito_sbridge_pciaddr(s, addr); --=20 2.21.3