Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1462826pxv; Fri, 25 Jun 2021 13:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwx+nrU+OJnXLVFYVtsbCb6EJOosZIj9hfjO1FI2XYC9enaFczU12otPKC+Cco78ev5thN7 X-Received: by 2002:a05:6402:2927:: with SMTP id ee39mr18068177edb.367.1624653646195; Fri, 25 Jun 2021 13:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624653646; cv=none; d=google.com; s=arc-20160816; b=zkeaVOgWMOhblfLgb2ropfIAz0xJzxGscMTylJZ+3zS13oNy2j9siJolghdWPGIWa1 G6ENSt5oZqkwh7s+DwtH7rFb6bv0mvxMgcygndo4hnDynCzu2eJCNTCyJHI3XEt4sKvl 9WcYu3u5knBV7JyhhjE/2KuoRyDpOZqWCYw/i+CTsP3mzjtAiP7rZ2B8swYOrQ/LiiRn Uvitp7bu9D0joqU/Yq7xhxbOGaI9/v1gZ1PM+psADQNW/NLEj0mQCSzQPFWJ7AX0BnDJ rwmxA9bp2Wt+zYvIQPdbNbS7/vzYkbo53Viixcgseh7J+s4pfyB4/Pnxsby8dYnGSlZh AmbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=igp6XzZHI+E6Xfij5w+bZK5PcIM6uGnLsBOjp1oo5XA=; b=VggS85llBP3M9hWqTjJkrO+XZcAGTXj4ib+4Rz1Gh4fgKtXttVYBO8eoa6e99U4hBH DJE5hWYAIqIs+NKKkRIxna/3yu6Uokn4baCtri44W3wGDrn5ocbJc1TO3nJHtd2CR7aj XUb2WJK4Rc7ho87oRdQnOB6KalSHXXzC76Qntg+pXKjL3eIw+IvTj0t2ITyJVfIU0PcT eVXZdwa1wR6luxIA39aRaf9cMFPGTM+RdPuPshhD+7ngycYIC8fm9hdjTs8wdEmeRVwM gw4F3xd+4+55PBLBNWUD4flXypEEohPXpVV4oXs8X90XC+jaL+bzf/do54w894gD/0zO P92w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2021052901 header.b=IpX2dV9X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di18si6665411edb.218.2021.06.25.13.40.23; Fri, 25 Jun 2021 13:40:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2021052901 header.b=IpX2dV9X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbhFYUlm (ORCPT + 99 others); Fri, 25 Jun 2021 16:41:42 -0400 Received: from terminus.zytor.com ([198.137.202.136]:53055 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbhFYUlm (ORCPT ); Fri, 25 Jun 2021 16:41:42 -0400 Received: from [IPv6:2601:646:8602:8be1:493a:1894:bb79:383b] ([IPv6:2601:646:8602:8be1:493a:1894:bb79:383b]) (authenticated bits=0) by mail.zytor.com (8.16.1/8.15.2) with ESMTPSA id 15PKcxPM2493588 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 25 Jun 2021 13:39:02 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 15PKcxPM2493588 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2021052901; t=1624653542; bh=igp6XzZHI+E6Xfij5w+bZK5PcIM6uGnLsBOjp1oo5XA=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=IpX2dV9XNpR3SIeniryqT/62mEPx+WQ9Ol9xhuLANrVcX2w/oZm0AwJEfvr96e+nu y71LzIJbBpJ7rLOnpBJQUo2KGWxNnGgwCcUY3cL/9dbdHLKEy3XeOLZdJp/nEN3S81 BPru/g2H0LOpbDCZdViFShUwYTiqF4HTPv2afLrbT8C/qAZ3zivBX3YhDrHpWMJFbE n+CApA3hlXggKsuFKP0no8zryMUgbU7qMxAJWLTOZPgp/teUoko7u0AEUV9fyL4+HG ZknJA7N8src5wFQAhLAHNlyTXmT20SxUonzEwfFFEqAKLY2btSFJ6uLYJ0Dq0mbOFp lYzUGSPMePcYA== Date: Fri, 25 Jun 2021 13:38:51 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [RESEND PATCH] x86/tools/relocs: add __printf attribute to die() To: Borislav Petkov CC: Greg Kroah-Hartman , x86@kernel.org, Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org From: "H. Peter Anvin" Message-ID: <1EFF7FE1-D341-41DF-8681-D386A1BD6F7A@zytor.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 64-bit cross build on a 32-bit platform=2E=2E=2E or Windows=2E On June 25, 2021 9:53:10 AM PDT, Borislav Petkov wrote: >On Fri, Jun 25, 2021 at 09:19:38AM -0700, H=2E Peter Anvin wrote: >> You can use PRIu32/64 or cast to unsigned long long; it's not like >the >> performance for this case is going to matter one iota=2E > >Why "unsigned long long"? > >Those fields are typedeffed as: > >typedef __u32 Elf32_Off; > >or > >typedef __u64 Elf64_Off; > >respectively so they should fit in an "unsigned long" on the respective >width=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E