Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp168692pxf; Wed, 10 Mar 2021 03:29:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUf84ldonCovif3FnUujrhCVf8/MKM3N+Dd58hjpAmbqSONNPtxjKiNXUxCchZ54iNVrrs X-Received: by 2002:a17:906:388d:: with SMTP id q13mr3236976ejd.34.1615375744686; Wed, 10 Mar 2021 03:29:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615375744; cv=none; d=google.com; s=arc-20160816; b=Vt2IS1bd7+S3xweltd5QVqjof/9aPS5hNoJqmgK7em6PnoMF6V84fmCc2oI7pMR5xj Gj0Wy1o4NITsQCHwg3fLVMN6nA1xGWc/SfF+u+VjUuPq++xqnHkiO/Iq8Nxn919iLpTw nlylsgsuy9rD3jR3Ot3tku2DE83tyY1QK2LpsTL9msIo7zabaTvkTOCj3Kf5stIY/N6r A/YVR1a7s5MV2elAM3p08u/iVk6VWYppN+8xjq5DfSu8AhpMPu5GFb+jd6sYBNEr6Lys aoQyCBgM3VUdL2fN1OJCnBDbeLmpSdnJnI4c/AaF8MzOKCTg+zXifmtibbgPRHp2kFfl L/MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XA4Tt17+6Doiam7IPy+7hL/2KgvHzSwXqX1249vr2qI=; b=oR8nxCKB42BHhjQOYPN8aEBUGDsgh67lPboGuMaJvesOelKzkHeRGfV7FndnQbZItF jU+QPYPsgDIW5gn8foTW4uCyT8ImYasjp4MisjvLHigBvkqRYytpkGQdRpr561xoSmMr Kl9jdQ5d2pxAidi4viN8g36GIiZvmM303tBFRj6N0f2aHnS9hl16FcTBKqnWN+dXL5LB Zv3ytH1QsCL6FK+7XCNxxPLxn32yshKwT+aIPE4jKiWtTWxrCCLg/g7DhnGYduVSWTyd EFShkcbiRR7JhDF+vzUkcdvjndRXfks740EcYFVskicTSnkcoeJsjWiAjGzLuCJkmYtu jJIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=mH45mrkQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o7si10930004edr.131.2021.03.10.03.28.42; Wed, 10 Mar 2021 03:29:04 -0800 (PST) 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=pass header.i=@alien8.de header.s=dkim header.b=mH45mrkQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232425AbhCJL1l (ORCPT + 99 others); Wed, 10 Mar 2021 06:27:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232584AbhCJL13 (ORCPT ); Wed, 10 Mar 2021 06:27:29 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5497DC06174A for ; Wed, 10 Mar 2021 03:27:29 -0800 (PST) Received: from zn.tnic (p200300ec2f0a99005e0b34ded2f39972.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:9900:5e0b:34de:d2f3:9972]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1B3D51EC025A; Wed, 10 Mar 2021 12:27:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1615375647; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=XA4Tt17+6Doiam7IPy+7hL/2KgvHzSwXqX1249vr2qI=; b=mH45mrkQrjJss3hyZPpQIWjdS/YkH8szIj0ANdE4DtUKnw1ohp1E2jmRkPAo4jNE64oUvF 6VFutuWTPjXfYSKiTRPo8HPYSfeVhVF/r4Itn0W/hZs5QXJK+d3+s2+IjIXJyO/m4ONVHw E4n7nVzqA3Otf2OiMTgQQTB8pmhhOW8= Date: Wed, 10 Mar 2021 12:27:23 +0100 From: Borislav Petkov To: Jan Beulich Cc: Andy Lutomirski , lkml , the arch/x86 maintainers , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH] x86/vdso: avoid warning when building vdso2c on 32-bit host Message-ID: <20210310112723.GD23521@zn.tnic> References: <14b269f1-a9d2-3083-00d7-c23368f135e9@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <14b269f1-a9d2-3083-00d7-c23368f135e9@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 10:22:16AM +0100, Jan Beulich wrote: > size_t arguments can't compatibly be passed for l-modifier format > specifiers. Use z instead. > > Fixes: 8382c668ce4f ("x86/vdso: Add support for exception fixup in vDSO functions") > Signed-off-by: Jan Beulich > > --- a/arch/x86/entry/vdso/vdso2c.h > +++ b/arch/x86/entry/vdso/vdso2c.h > @@ -35,7 +35,7 @@ static void BITSFUNC(extract)(const unsi > if (offset + len > data_len) > fail("section to extract overruns input data"); > > - fprintf(outfile, "static const unsigned char %s[%lu] = {", name, len); > + fprintf(outfile, "static const unsigned char %s[%zu] = {", name, len); > BITSFUNC(copy)(outfile, data + offset, len); > fprintf(outfile, "\n};\n\n"); Already fixed: https://git.kernel.org/tip/70c9d959226b7c5c48c119e2c1cfc1424f87b023 Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette