From nobody Fri Nov 14 21:43:04 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 ARC-Seal: i=1; a=rsa-sha256; t=1590499994; cv=none; d=zohomail.com; s=zohoarc; b=kEaOMTmN4+uMgqn+ZXlMjuNor5AOwQPXpdJY8wUIkg+Ya6QlgDgJsI3falrswRpkZHRnXEGyi8b3aKM0loj/97FaUmSvSAlvZfimccSfBNP12iK4ji1kLaHd18X078EgQ61jqFi1DRWzHOv0X96r2GNQz00wnEvgw+Cpxnvbymg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590499994; 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=cZeebiqfxhCk62kO9FgJ+tB8pkIxbAdmUPUvlZSrts08tfQBVSjTku4ThFDkoGfdzP1ejjuQ34BHvxSpV9e4JbKx3E3P7hWtbZ5+D/n61OETY+U8wmhVWWFb98js6OaHi+nVQma22/9QJFxXhdvkdTtLIX3f4WNmcJSfLPud+vs= 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 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 1590499994721206.84428249991947; Tue, 26 May 2020 06:33:14 -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-18-kPyVDqG2PLWHVx72ONcYEw-1; Tue, 26 May 2020 09:33:10 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 799FD100CCC0; Tue, 26 May 2020 13:33:05 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5BC966FB86; Tue, 26 May 2020 13:33:05 +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 2C78862D04; Tue, 26 May 2020 13:33:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04QDX3SM012397 for ; Tue, 26 May 2020 09:33:03 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4B91010F26FF; Tue, 26 May 2020 13:33:03 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1078D1004C44 for ; Tue, 26 May 2020 13:33:00 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.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 B2CEF80028C for ; Tue, 26 May 2020 13:33:00 +0000 (UTC) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-287-QINO9FSZNVO90RRN7opgxA-1; Tue, 26 May 2020 09:32:55 -0400 Received: by mail-ed1-f41.google.com with SMTP id k19so17664347edv.9; Tue, 26 May 2020 06:32:54 -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 n25sm1623084edo.56.2020.05.26.06.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2020 06:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590499993; 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=cp7maSiznzg20472qLTFYiR7okUtTqspEiCmqW5Y9/FWsQO5MQ7OmYr9pnRkfJG+naEkwr f4elVQdPbg6p4GKTtdrV57LuUuieErBbaWOs+7B4TqIyJCIbIGX7jmj8qaqsYH0wHMl9I3 CQOSLtacyOE9Eno48CBcvnN5GSjbH4E= X-MC-Unique: kPyVDqG2PLWHVx72ONcYEw-1 X-MC-Unique: QINO9FSZNVO90RRN7opgxA-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=lxlQtJF/ktUEZ047g7jRhonM8pwB/3SN4m0CfJ73m4vbXyJySfl8ouMBO81ex68GzJ lbE/NnsK/u7yytqSAKcWswHkPsxA0vJUYnGj6IzTVoXF28JZyeyu041N0lUNDBvpa/2o do7U0CTQuhObkP6yqUNP6dWu5Ly0/eY0uL74TI3HJFeyLeDWorij+CVR7Z1Fb+Rk/bOZ BB5VkMAfDHFO1FXNdqkKFg02Blnk3kzhNFsVO3FAN+mi2d4ASzKDig+dhRZ/+5hGOLVC k4NWihr/jMXUpKZoBHJLU8HI+wEdt84kJxedD1Kk37+DJsMxNKMh5/olPzXyyRd1URSo /o6w== X-Gm-Message-State: AOAM532ojYt+oiHjamyeiSX/xU2kp3IAmcL+sk1yxEIWgryWu6dTbrss wqoBbsGVk3HQXlaSH8dI3OM= X-Google-Smtp-Source: ABdhPJzlU0PKXICjatTn4uD6jpLoOSgvHPjzWWlceZm8/iHTSrsNzMzNa/Ad9XKj7ed9QUV48aI65Q== X-Received: by 2002:a05:6402:22d9:: with SMTP id dm25mr20402790edb.380.1590499974015; Tue, 26 May 2020 06:32:54 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 03/14] hw/pci-host/bonito: Fix DPRINTF() format strings Date: Tue, 26 May 2020 15:32:36 +0200 Message-Id: <20200526133247.13066-4-f4bug@amsat.org> In-Reply-To: <20200526133247.13066-1-f4bug@amsat.org> References: <20200526133247.13066-1-f4bug@amsat.org> MIME-Version: 1.0 X-Mimecast-Spam-Signature: yes X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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.15 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