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=-5.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 61A7BC433DB for ; Thu, 21 Jan 2021 12:52:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 EB4AD239FD for ; Thu, 21 Jan 2021 12:52:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB4AD239FD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=JPmjJd+1ZDzMqlqOTgEpaxlE6fsU4sy62hQedh64pKs=; b=HUqFljW882obsuzINRGjfOQ8p m3i4km/yGKbmG5is+jiGBwBI3uKLCT/kCa9KWHxu3Ye+jlyWsAAbcJ2LhbJpsZOBdhpqiMnLSDqDo RHrXRiThpXhK9tjp2KYlBdw5xkvbZMS/vjWWioSVUcNXc6oWbYQL34FfI7MdZZrduYml5lHk/XJjX l73BqBeaYK5aTxNEbziati0Ssc/ATFDe/mow5ZVvKr/ADpZ0It/WYL4mZPMr4sYJbF8MxgTwgiolO 5ZAApzHJFywgDacT7cSEJi/Q8fFnFmrvAcJyzEiIoD4HxyjYYWj44iDWuf57qZCQBJ4VRIl3EbxMe QQgauAv/A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZQM-0002f9-61; Thu, 21 Jan 2021 12:50:54 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZQJ-0002di-1p for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 12:50:51 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6AF22239FD; Thu, 21 Jan 2021 12:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611233449; bh=2X/UdBtskFG5nLtVzkFy8EK565N+XAb9l90On4yYN/E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fzKT2k1TVufQRMdOpt9MiPdsouFFgMF7aMiXH35ldlRBAiRsZ2zw3Xl7+/y83VtaN uiH/Qf3itPcNTA1hH/dswt4Fi3CPqWgHAjk+NtQ2AnaIkUBRW4JkudI1nKryEz8lNN ttYo5y7ckYo16OHK+htDWCJJ8jgxCSBihJwGCJzbUjOMGLvfVy6u87xnSMme5Wu2BK f3aOhMuM61fyHeqvQ+vMiBWRXH3DX9fd2r1D7xRQgcys886Hxgsl/t/dyBKLAmZs+2 UtKc8oAslBAsi6i+Bc0YNEVYRKYBMSMM+xt29ya3FZ7F7Z/wX4llL2Iy6cp/0oCdou cTbxMFkF4crjw== Date: Thu, 21 Jan 2021 12:50:44 +0000 From: Will Deacon To: Nick Desaulniers Subject: Re: [PATCH v4 7/8] mm: Use static initialisers for immutable fields of 'struct vm_fault' Message-ID: <20210121125043.GC22123@willie-the-truck> References: <20210120173612.20913-1-will@kernel.org> <20210120173612.20913-8-will@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_075051_189605_6D7860E1 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-team , Jan Kara , Minchan Kim , Catalin Marinas , Hugh Dickins , LKML , Linux Memory Management List , Vinayak Menon , "Kirill A . Shutemov" , Andrew Morton , Linus Torvalds , Linux ARM 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 On Wed, Jan 20, 2021 at 10:21:33AM -0800, Nick Desaulniers wrote: > On Wed, Jan 20, 2021 at 9:36 AM Will Deacon wrote: > > > > In preparation for const-ifying the anonymous struct field of > > 'struct vm_fault', ensure that it is initialised using static > > initialisers. > > FWIW these are known as "designated initializers", ie. > > struct foo my_foo = { > .bar = 42, > }; > > https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html Thanks, I'm useless with terminology. Will update. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel