From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17C9FC4829D for ; Mon, 12 Feb 2024 20:55:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HL6CQzRB04ttiRLRZO2i+dHix3W5XSsuVPAR5nEgCpw=; b=lGXs5vMhNDoxkd WJUTlB97pOs9isq/IsszlZUYbOU9MzLFODWPnYFIg0bY2YSYfRHE/xXSRW0yJZMg/T6EOdXlOEmir bFSePD4iPyAMYshw1eLylGbPuhBPLz/zrHzyDs8br7U24xKZwpoxJcGZiUXBqzaBuqb+AutLQPqgQ 19JM7hDTF25ZUu3Ram8JhodydC5FGtQbeCMzIFrXMRFr4GU4bO2Rf9O4OYFMFTp8Rnffze0+5dpGs E93AV7oYEiquBHqG7EQp1yMcwy/EH2/mX1dYUgWB3iihOPv7n6Q9vuVoPmXHMXmqDcweHPG/3pIiA vtVoOOVhdlvvMme4ioZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZdKe-00000006v9U-3NWA; Mon, 12 Feb 2024 20:55:16 +0000 Received: from out-189.mta1.migadu.com ([95.215.58.189]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZdKb-00000006v8w-48HE for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2024 20:55:15 +0000 Date: Mon, 12 Feb 2024 20:55:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707771311; 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: in-reply-to:in-reply-to:references:references; bh=Jg+S1eA0mQzeAlYCXpsQrlGlqFnthigQE9V3fAICXlU=; b=fx6X2FZmzNXQV2YECP4e4BbYmms09hnPPo30mpZJ6dQkvs0BcZBOrPY1HgwJKFD2nfrPMP tfrP/TfFxIvrJUc1UUnxCWRPH56IsEQfyDm8IB5xrQ3H3vHDyKRL92mPMwhW6mixiJP4qM g6ZzuPUSdy7kXr1jGEC9gi0RBBVzSKA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Sean Christopherson Cc: Marc Zyngier , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, Anup Patel Subject: Re: [PATCH] KVM: selftests: Fix GUEST_PRINTF() format warnings in ARM code Message-ID: References: <20240202234603.366925-1-seanjc@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_125514_191548_788E772E X-CRM114-Status: GOOD ( 19.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dammit, forgot to actually CC Anup. I'll blame jet lag. On Mon, Feb 12, 2024 at 08:50:38PM +0000, Oliver Upton wrote: > +cc Anup > > FYI -- this patch is touching the arch_timer code. I did a test merge > with kvm_riscv_queue and there weren't any conflicts, but in case that > changes this patch will appear on kvm-arm64/misc in my tree. > > -- > Thanks, > Oliver > > On Fri, Feb 02, 2024 at 03:46:03PM -0800, Sean Christopherson wrote: > > Fix a pile of -Wformat warnings in the KVM ARM selftests code, almost all > > of which are benign "long" versus "long long" issues (selftests are 64-bit > > only, and the guest printf code treats "ll" the same as "l"). The code > > itself isn't problematic, but the warnings make it impossible to build ARM > > selftests with -Werror, which does detect real issues from time to time. > > > > Opportunistically have GUEST_ASSERT_BITMAP_REG() interpret set_expected, > > which is a bool, as an unsigned decimal value, i.e. have it print '0' or > > '1' instead of '0x0' or '0x1'. > > > > Signed-off-by: Sean Christopherson -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel