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 A2339C4829D for ; Mon, 12 Feb 2024 20:50:54 +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=g8ede1OApM30WBpJV+u/H0+Fq1xnFpS2JNb1P0mdeHY=; b=xcE3Db9lCXajyr wwAjZ+6aeSjWmFVy2RzYPtt1hkxhfSsu8bko5uTOrrjxmditjqj9ijm4z5N3REAZv1b0Rn3Djvmke jx3zgRSmpr6nmexz+axbKI2pJ0E9Rzmx61iOVdVAFdEjXbpqQygUrfYN1kDjFyMh95EIeh7mTxUtL 6UGxxaxGAV8NwLtJRz/2tAmcHmVdO5BbB35DehZvZZvfe3O+r6B/0qU2nxG0wLwkTIN+tcgavRLp+ caELwLxebDUqScclMXLM2/9F9smJyd5v1v2kYI3IL/pU0ItCWQqXA8RkrlTia1oe6Mh2GOtVRfDHJ 0/M99f8JZQtJMD/ZVw7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZdGG-00000006ugO-36EP; Mon, 12 Feb 2024 20:50:44 +0000 Received: from out-171.mta0.migadu.com ([91.218.175.171]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZdGE-00000006uf0-0PfS for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2024 20:50:43 +0000 Date: Mon, 12 Feb 2024 20:50:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707771038; 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=zYpPKL/Y1qQVtjq1JAXZQxRcIoamgeLdOfY6ECA0RJI=; b=WbZ6Hs7hakWIivaDx59Q0n3ptB0lNcjUMcBj/8oZgwngQ02s2WPXO5Z9PxO4MUTpUyiiS8 ID6C8WG10tdl9bUU02Awcs6vMs05uKronOQ4lBYIsvhUMjwnH16bZvOQ0acOh/cOZ5TK/k o8N2xr1AMl+l7kvOqRMCBiE+CfFWVB8= 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 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: <20240202234603.366925-1-seanjc@google.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_125042_377596_D1388E8E X-CRM114-Status: GOOD ( 13.12 ) 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 +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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel