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 X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B9F2C433DB for ; Tue, 9 Mar 2021 22:44:24 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CBC4565020 for ; Tue, 9 Mar 2021 22:44:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CBC4565020 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.95826.180889 (Exim 4.92) (envelope-from ) id 1lJl5H-0000Pn-Av; Tue, 09 Mar 2021 22:44:11 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 95826.180889; Tue, 09 Mar 2021 22:44:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lJl5H-0000Pg-82; Tue, 09 Mar 2021 22:44:11 +0000 Received: by outflank-mailman (input) for mailman id 95826; Tue, 09 Mar 2021 22:44:10 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lJl5G-0000Pb-Kv for xen-devel@lists.xenproject.org; Tue, 09 Mar 2021 22:44:10 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id f1739289-9f18-4739-8eed-45cf74165beb; Tue, 09 Mar 2021 22:44:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id AF9F5650FD; Tue, 9 Mar 2021 22:44:08 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f1739289-9f18-4739-8eed-45cf74165beb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615329849; bh=d8xIRX0RtCjsSAfrzN3mwsU8YemgIC4uP3zO6GCviMw=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=nnT+x7HVDzEFqQS3Io8TUhH9vpJSIn/8YlliOCLGN5/8+CMcjfY35AZ3cIqmJYdYN oKdV68FcbkL2FgoIrR6Qe2rcyNe3SpJyRuokget2gFB2gqpiHIWxDTUaIOWTYJGH/T WDmgFWNpkkLgu4/hm4D/JxPN0YllmUt8VVNan2aBMHzWeYtweTyzS3y4HNlROtL4Uz sbkBj4pIdPlg8Mk68cL1gv/Lk3MMLQekSAyIHdqyo8InvNCNgtfXZx/64Cc4dhcFFx zaFUFkbJKnLuP9rKDwEsMYhDW9odo/9inM8tqzkkzgFDizXUjWyaj50rklVUAWEK7u dfjD3JGLZK+Hg== Date: Tue, 9 Mar 2021 14:44:08 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Andrew Cooper cc: Elliott Mitchell , xen-devel@lists.xenproject.org, Stefano Stabellini , Julien Grall , Volodymyr Babchuk , George Dunlap , Ian Jackson , Jan Beulich , Wei Liu , Juergen Gross Subject: Re: [PATCH for-4.15] arm: replace typeof() with __typeof__() In-Reply-To: Message-ID: References: <202103092114.129LEgZp059925@m5p.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Tue, 9 Mar 2021, Andrew Cooper wrote: > On 08/03/2021 13:36, Elliott Mitchell wrote: > > typeof() is available in Xen's build environment, which uses Xen's > > compiler. As these headers are public, they need strict standards > > conformance. Only __typeof__() is officially standardized. > > > > A compiler in standards conformance mode should report: > > > > warning: implicit declaration of function 'typeof' is invalid in C99 > > [-Wimplicit-function-declaration] > > > > (this has been observed with FreeBSD's kernel build environment) > > > > Based-on-patch-by: Julien Grall , Sun Oct 4 20:33:04 2015 +0100 > > Signed-off-by: Elliott Mitchell > > s!arm!xen/public! in the subject seeing as two thirds of the > modifications are in non-ARM headers. > > Acked-by: Andrew Cooper Reviewed-by: Stefano Stabellini > This wants backporting as a build fix, so should be considered for 4.15 > at this point. +1