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 61873D3ABE7 for ; Sat, 6 Dec 2025 03:40:58 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=asuTOlvlnlE1//JXMeZSQdlPFxOrnDqFip/pBGWs+Qo=; b=gqNtGmRZNOYj/d 0iCcoEWxdvyRRW/rTeif2w5n3LETsDNud5lAriNvQJtxg7J+LYVezveB5hS4dAPc3I1Bqaql+uwKd MJ6s5fWNzbDY7f4r434K46ZD2Wl6r1gxex6miYbyFdGJZWDjWHr03BruH6x0k/GU2fKXVZrDPCoYh 4z3NxUwwgeFmibV19rJ04oZSAkXwyXn+CeV8qMPxq5xf6w3dpUbJ3S/4wqlJlwmJcgUXBQcH7UBs9 iDbr+qliGdeyoACaGOuZYN1exAQYEaOZUs+ugw5YOyqnyZi9FOV4feYNbV6WEC+8ftiwxSoRAMfKa bBk0sJvDr0j30WDOrH2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vRj9x-0000000AYIa-3H4X; Sat, 06 Dec 2025 03:40:37 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vRj9w-0000000AYIB-367a for linux-riscv@bombadil.infradead.org; Sat, 06 Dec 2025 03:40:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=KoD1NRD0QaV+f74bc5iSUT0wwYVNJpat/RcP0vQRNuI=; b=Mhn+77wM3cs9rdVdBan8E+OBqf tsQKEQpgOueaWEyYveh0VR6Zgr+6sYrGYRZwBNCe/SahAsSTgGizAfFkv9s0MWdDHFoID9t1v7kFz bphsTRVwFVIGZugdHdt5mOe5L8UTo6VglivG8oMfia91iYfNXG7EIRdMAOvaLeAyCO6+byOEID2wQ 49nD1zo21O3cEykqqyE/3I7wqbOK3Q0L2TbVdDJ8GEAeD8nyUEQxioB3KNCJoDIbUkDNJOnWJfPjC /db8Y1XAebEix8cmvbtpBjDdKpr5RSNlkjvM8XEOka8SuWm91gLEewWiloUQqXUcgffgEizmaqm5l w0YcCSeQ==; Received: from omta033.useast.a.cloudfilter.net ([44.202.169.32]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vRiIL-00000007J2F-32ra for linux-riscv@lists.infradead.org; Sat, 06 Dec 2025 02:45:16 +0000 Received: from eig-obgw-6006b.ext.cloudfilter.net ([10.0.30.211]) by cmsmtp with ESMTPS id RbVHvvhiZqgL9Rj8Bvjsu4; Sat, 06 Dec 2025 03:38:47 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTPS id Rj8AvDgexvXvHRj8AvDTjp; Sat, 06 Dec 2025 03:38:46 +0000 X-Authority-Analysis: v=2.4 cv=e4IGSbp/ c=1 sm=1 tr=0 ts=6933a546 a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=ujWNxKVE5dX343uAl30YYw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=7T7KSl7uo7wA:10 a=VwQbUJbxAAAA:8 a=1XWaLZrsAAAA:8 a=_lKBnUPEwlkEFLTacEwA:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10 a=xYX6OU9JNrHFPr8prv8u:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KoD1NRD0QaV+f74bc5iSUT0wwYVNJpat/RcP0vQRNuI=; b=coIeJHotksEB6dU0JU8LIyi2+L uaDb55h2Mt1UuG3h/KfXxkyCM9kNkUWFXfKhHQ4o8JDSD7EQAoRXlQNhy2MPsqj9G6CEDFz/Atw+9 ZgQjnWppwz+a1nyxKyA8oa3XON37XtoLsHEsqBF7NciO4/cTYHyJsaGDdkZ1q96dXAR3vN+Ajgd8E 26oVQjWOBLooorvXiIFmWbm5h0W8vYG/Im+2W7ub8NiQ1hVB5GfsOo4OHyrJbTvh1tDzKIt53tiIR QYbVpumaH0gvsFCV4zcXTBdq2yPsnMuu7hmsfqp+jYwJ4mvpvuF9UPJnj4fcmmFTX5nHWOJenYOGa 9yhq7lSQ==; Received: from i118-18-233-1.s41.a027.ap.plala.or.jp ([118.18.233.1]:61266 helo=[10.83.24.44]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.1) (envelope-from ) id 1vRj86-00000002EOT-2JGv; Fri, 05 Dec 2025 21:38:43 -0600 Message-ID: <0018d1c0-58ec-4b31-b016-472795990923@embeddedor.com> Date: Sat, 6 Dec 2025 12:38:14 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] KVM: Remove subtle "struct kvm_stats_desc" pseudo-overlay To: Sean Christopherson , Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Madhavan Srinivasan , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Paolo Bonzini Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, "Gustavo A . R . Silva" References: <20251205232655.445294-1-seanjc@google.com> Content-Language: en-US From: "Gustavo A. R. Silva" In-Reply-To: <20251205232655.445294-1-seanjc@google.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 118.18.233.1 X-Source-L: No X-Exim-ID: 1vRj86-00000002EOT-2JGv X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: i118-18-233-1.s41.a027.ap.plala.or.jp ([10.83.24.44]) [118.18.233.1]:61266 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 3 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfMGBhTZW+clWbibNGADKz8eA7YpDyJPD47aTqUq48fyE6mnaz54D267gKLbyW2NZeXCLgsMN3i5ArhpEWk0GJWEfk9gH2bwgWd7FiS/tnilGmvca8wzJ tHdLwad60bCc7EtkEc+OehpVa29EoCxdfGPYydPpawr1GurN678d8tamUtzFrKUmzHC+frWf5ahfJRQx24o+njDb1lbHLnii9TnwxPiFtSQsquODTMERFTx4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251206_024514_082547_0BF7873A X-CRM114-Status: UNSURE ( 2.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 12/6/25 08:26, Sean Christopherson wrote: > Remove KVM's internal pseudo-overlay of kvm_stats_desc, which subtly > aliases the flexible name[] in the uAPI definition with a fixed-size array > of the same name. The unusual embedded structure results in compiler > warnings due to -Wflex-array-member-not-at-end, and also necessitates an > extra level of dereferencing in KVM. To avoid the "overlay", define the > uAPI structure to have a fixed-size name when building for the kernel. Nice. Thanks for this. > > Opportunistically clean up the indentation for the stats macros, and > replace spaces with tabs. > > No functional change intended. > > Reported-by: Gustavo A. R. Silva > Closes: https://lore.kernel.org/all/aPfNKRpLfhmhYqfP@kspp > Signed-off-by: Sean Christopherson Acked-by: Gustavo A. R. Silva -Gustavo _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv