From nobody Mon Apr 13 10:52:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1772829462; cv=none; d=zohomail.com; s=zohoarc; b=Du/Wk6u4UyA9n1YdvwCI2W2CYDMRn/mMvMGYKmpbwwZ2zmiDchVd4O0tru+jmI5q7F9MSI7twvNvEaXNobNHojj3QQE+j/RNYgyztBqJXKVmvgnS0KF3tmwImSxR6O8dTchiydUWA+2rnZv+ngamDtUWa7Goddp1J6dnB+bkCo4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772829462; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Ho/Mrk8He9w+IftrvucB8Peneasc8FgN8wkRmupgNxY=; b=HSl3PHmedUmSiZ4cYM8rNjdTxA8GTa1i+76ECb0OImn1/L8xY6Kw1z8hLWG6lm8wzLYG2/n52H+IocYHR0c1Uren67VAypVuKA2xZ+6Pq0DRw5MEc6D6LzmHBcoBkz2zCnm20TZ4a4Ys86ie0tD3qy1SEEfa8e1m07yCBX6eGaM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772829462591911.1793234569282; Fri, 6 Mar 2026 12:37:42 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vybuw-0007ge-CU; Fri, 06 Mar 2026 15:37:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vybuv-0007gO-1G for qemu-devel@nongnu.org; Fri, 06 Mar 2026 15:37:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vybut-0007RP-3r for qemu-devel@nongnu.org; Fri, 06 Mar 2026 15:37:00 -0500 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-426-xuYzblLbMuGWllL3XN8vwA-1; Fri, 06 Mar 2026 15:36:52 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7C6C7180044D; Fri, 6 Mar 2026 20:36:51 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.53]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 675D53003E9F; Fri, 6 Mar 2026 20:36:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1772829416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Ho/Mrk8He9w+IftrvucB8Peneasc8FgN8wkRmupgNxY=; b=HySDizmb8i13KedPnHWiciRmyfh9WXwY7zGwXUnicISzvhPthTpDKbo7MzoHu2ZYMH6yVA HNlx8MOKurhPZcbSRhPltTj64oiS9QjDE/k6HRmPWHGsJIJnqHEdO6xo+jsGFblVRGV73Q F8N8+9JNEye4bB2+gthrSJGS8ITDCWk= X-MC-Unique: xuYzblLbMuGWllL3XN8vwA-1 X-Mimecast-MFC-AGG-ID: xuYzblLbMuGWllL3XN8vwA_1772829411 From: Thomas Huth To: Christian Borntraeger , Jared Rossi , Zhuoying Cai , qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org Subject: [PATCH] pc-bios/s390-ccw: Fix compiler warning when compiling with DEBUG enabled Date: Fri, 6 Mar 2026 21:36:45 +0100 Message-ID: <20260306203645.28232-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.411, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.679, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1772829463682154100 Content-Type: text/plain; charset="utf-8" From: Thomas Huth When compiling with DEBUG=3D1, there is currently a compiler warning: pc-bios/s390-ccw: Compiling main.o In file included from /home/thuth/devel/qemu/pc-bios/s390-ccw/main.c:14: In file included from /home/thuth/devel/qemu/pc-bios/s390-ccw/helper.h:16: /home/thuth/devel/qemu/pc-bios/s390-ccw/s390-ccw.h:122:31: warning: format= specifies type 'unsigned int' but the argument has type 'u64' (aka 'unsigned long l= ong') [-Wformat] 122 | printf("%s 0x%X\n", desc, addr); | ~~ ^~~~ | %llX 1 warning generated. Fix it by using the right format string here. Signed-off-by: Thomas Huth Reviewed-by: Farhan Ali --- pc-bios/s390-ccw/s390-ccw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc-bios/s390-ccw/s390-ccw.h b/pc-bios/s390-ccw/s390-ccw.h index b1dc35cdedf..6a0b987e303 100644 --- a/pc-bios/s390-ccw/s390-ccw.h +++ b/pc-bios/s390-ccw/s390-ccw.h @@ -119,7 +119,7 @@ static inline void fill_hex_val(char *out, void *ptr, u= nsigned size) static inline void debug_print_int(const char *desc, u64 addr) { #ifdef DEBUG - printf("%s 0x%X\n", desc, addr); + printf("%s 0x%llx\n", desc, addr); #endif } =20 --=20 2.53.0