From nobody Sat Feb 7 13:50:35 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4441D175A5 for ; Tue, 6 Jan 2026 11:13:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767698010; cv=none; b=ZRr3UEdXuubod6aOJ4V+svY13LkQUkFrlKih4xLlmeIGk4D2KePCDCn17qb5FR4WqYIeJ1+R50mnmNDkVSQZW8AFegJXmVYMMKomZrS9e2zibROU/rRLIJegLcNPUiPlkov2RA6WdyUyN7DrShow/vE3EyVt2t4FdVrcPt66+r8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767698010; c=relaxed/simple; bh=S6q+g6ocgFd5SgdtrmwHilIZCmlOM5ZQrluWXZkjit4=; h=Date:From:To:cc:Subject:Message-ID:MIME-Version:Content-Type; b=E0wQFZcXTON79CRxwSYic0vzK2UL39/5vgJ8p/wSVMb2IEwFJyn5+dGlA/+thexq4xKzjLzki5y4Q++Ov84ALYbuYvy12OGDT5mnY7mhUH1RNCgdwRnXFZd1Vwmr75HQs3IlwUNbdWtQdnyuAdH4oriBwmRk47YNffQI9Ay3RkA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=bx1ryqs2; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bx1ryqs2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767698007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=g0HYSbCaF1nKHCuFVFXbGdNyPeibEWMgku8aXpDMzwo=; b=bx1ryqs21jrGfeTLdhaJuuKZhpBw5/pm4/G2yPZSAMLiDtMNhny13qztUr/0azJ4Lff6fR EJzTPkjWXPB0yXAKGwQic4CdLfbwYLPByiM8NAEjSSdPesK8I7CwJ11cNft/CGQTG70itT yXmjQ8c5pUaMqtZ2VMBIpvfytaoNi/4= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-542-eaQ4A9jfNeCBCh3HhmxAWg-1; Tue, 06 Jan 2026 06:13:24 -0500 X-MC-Unique: eaQ4A9jfNeCBCh3HhmxAWg-1 X-Mimecast-MFC-AGG-ID: eaQ4A9jfNeCBCh3HhmxAWg_1767698003 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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9F7FD195609D; Tue, 6 Jan 2026 11:13:22 +0000 (UTC) Received: from [10.44.33.27] (unknown [10.44.33.27]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7D17F30001A7; Tue, 6 Jan 2026 11:13:20 +0000 (UTC) Date: Tue, 6 Jan 2026 12:13:15 +0100 (CET) From: Mikulas Patocka To: Josh Poimboeuf , Peter Zijlstra , Petr Mladek , Joe Lawrence cc: linux-kernel@vger.kernel.org Subject: [PATCH] objtool: fix compilation failure with the x32 toolchain Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" When using the x32 toolchain, compilation fails because the printf=20 specifier "%lx" (long), doesn't match the type of the "checksum" variable=20 (long long). Fix this by changing the printf specifier to "%llx" and=20 casting "checksum" to unsigned long long. Signed-off-by: Mikulas Patocka Fixes: a3493b33384a ("objtool/klp: Add --debug-checksum=3D to show p= er-instruction checksums") Acked-by: Joe Lawrence --- tools/objtool/include/objtool/warn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6/tools/objtool/include/objtool/warn.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- linux-2.6.orig/tools/objtool/include/objtool/warn.h 2025-12-31 20:10:31= .000000000 +0100 +++ linux-2.6/tools/objtool/include/objtool/warn.h 2025-12-31 20:14:15.0000= 00000 +0100 @@ -152,8 +152,8 @@ static inline void unindent(int *unused) if (unlikely(insn->sym && insn->sym->pfunc && \ insn->sym->pfunc->debug_checksum)) { \ char *insn_off =3D offstr(insn->sec, insn->offset); \ - __dbg("checksum: %s %s %016lx", \ - func->name, insn_off, checksum); \ + __dbg("checksum: %s %s %016llx", \ + func->name, insn_off, (unsigned long long)checksum);\ free(insn_off); \ } \ })