Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4114178rwe; Tue, 30 Aug 2022 05:03:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR66F7zbXsRTTiguSnIrnA6vCuBjc8IZ+I29Kz7Vj89ss9+DafK0umd3SgZaT5PbrFDaag0w X-Received: by 2002:a05:6a00:1ac8:b0:536:f09a:eecc with SMTP id f8-20020a056a001ac800b00536f09aeeccmr21368274pfv.50.1661860999084; Tue, 30 Aug 2022 05:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661860999; cv=none; d=google.com; s=arc-20160816; b=ZrwjfGKTYtqa1LV3Ockp6tipvyT2Dw8OPRyTGvuCJ9hggiKUCvZ5MRgnl1y3SOM/qC S6qSYprZmkfVHCGg3bxbOY289y4CAyAjQBNZg/X2YmBbN4coi12V+538O8EVW7VrTOAs D6p1IuJgNd5lLCc68gkFufAcz/n9YN7rFrYa7v5WmGWozasJjwiablfgWFRVdGmuZa2S SGc3J4KP0XWwWL1P3Hfc06Xafdp/sTUynDa0koPI9YsQHG7S2EC1vDNKsUm3m6GcLjdD BEfacFWV1cwSNmJ6ZnUM75V7RjEyq3HUaKOYrcmUjawDkpqHNiNRQ5kCnp1pb2D04II4 gjUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=Oupn4eihBsi0MiLn85P4dhLgR7rqSv7zUgSdpKnmCGk=; b=JmzCC3+pzbc5Fvy9tLIUyoFNU03x8ScegEQB0/4Yp3oi5mB8+1Y+yIkWeofScGBKlm I1PICFTbHEnQE6bOBdjVH6NIi/FU+KclHreI67r3RxcPZE5UPM6XF/i7pqzwP0R3wDwN Y5DNoCEAx3FyxeR/FH21xrYRGNSmPXanLeETFKrdhmVOSbRCRVbByUgd4y3MKl0w7K9r /bzw35IGXkAyEzlIVLmT/D2rebxK1zehP6SsqPlqqnl9fUxoD+qAHxofSzrfMBAblvnU idbq+I1X7SZVwi/1zCnAc9PaMs0AHcyvIKxKF9vK3hfg7FxUqc9FmkgsKo3ZrxjDvh17 C+Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (expired) header.i=@arndb.de header.s=fm1 header.b=k6PVLwqi; dkim=neutral (expired) header.i=@messagingengine.com header.s=i56a14606.fm1 header.b=LF4CCGJe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x40-20020a056a0018a800b00536ee478380si1426562pfh.7.2022.08.30.05.03.07; Tue, 30 Aug 2022 05:03:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (expired) header.i=@arndb.de header.s=fm1 header.b=k6PVLwqi; dkim=neutral (expired) header.i=@messagingengine.com header.s=i56a14606.fm1 header.b=LF4CCGJe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbiH3Ljf (ORCPT + 99 others); Tue, 30 Aug 2022 07:39:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231219AbiH3Lij (ORCPT ); Tue, 30 Aug 2022 07:38:39 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 548D51AD87 for ; Tue, 30 Aug 2022 04:37:30 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E17505801D8; Tue, 30 Aug 2022 07:37:26 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Tue, 30 Aug 2022 07:37:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1661859446; x=1661860046; bh=Oupn4eihBs i0MiLn85P4dhLgR7rqSv7zUgSdpKnmCGk=; b=k6PVLwqikiKnbm9KWzOSLRNMuO ipubifHhHOySC975owsKGRAvLAJ8UIDt8zBiP0ipjOePPcitcsWiUXqFwe697nTV /ybV4l7AtnADfW4mDMt4vPZuM/w6V5poMXqFYQgPWWQ6YiVChVKLtAbzNntCwKP0 4rsipZ4rRLX6HVYbFGl7lUDkmTItHrAf6MiUrPy/bhDYvq76vo4DEllCHyiBR+a4 kqSIK8pfN9y7aSZWDa4Jpspq9cFkSHBS9uGLXxBgCyUINMnApo1E0qvepfKwR+9W 8/TObG4yD0UHKuwvKQtQ7yemnuRP1uJG4KiqEx2vLgJcR890l7xEJry9lrGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= i56a14606.fm1; t=1661859446; x=1661860046; bh=Oupn4eihBsi0MiLn85 P4dhLgR7rqSv7zUgSdpKnmCGk=; b=LF4CCGJe/E9AAzS3vhlzL3gPRaFjg0od9b QCu2/es7f4b0wxDSGar9ChqSa1o6s6j+5hzvt53D+ejZO2NxcWI3fk4sUzs6d7ye dM15mQMIO+4J6vqczxGrjgSH4ZFbzlqNjrMySYysqc2T2aztEp8gXjgL8tL9tpey //vy05ZhUBO8+5o+/grrfaDMeo4wcF5lF5/+Rew4VVoRKVGh6po7oHKh262uiLpR zILRqhRirH6cGEt8Krb6Op+/GuE003fKQyqGCjnzaDe8gCnM1/Wcw7bFBML/PEUt bZ15Q7QLSJWJrFWrhtuT9zM3ByolA6e5U98F4H9SfPb45MBDQdjA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdekfedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id ABADBB60083; Tue, 30 Aug 2022 07:37:25 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: <78451bb1-e4d2-457a-adf7-8fb61be0fb3e@www.fastmail.com> In-Reply-To: <4ff2a310-c8ba-ccf2-8d51-5181b83685c7@loongson.cn> References: <1661766931-7277-1-git-send-email-yangtiezhu@loongson.cn> <4ff2a310-c8ba-ccf2-8d51-5181b83685c7@loongson.cn> Date: Tue, 30 Aug 2022 13:37:05 +0200 From: "Arnd Bergmann" To: "Tiezhu Yang" , "Huacai Chen" , "WANG Xuerui" Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] LoongArch: Fix warning: #warning syscall fstat not implemented Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 29, 2022, at 4:34 PM, Tiezhu Yang wrote: > > I read the commit message in the commit 82b355d161c9 ("y2038: Remove > newstat family from default syscall set"), I am not quite sure whether > we should check __ARCH_WANT_NEW_STAT first, like this: > > #ifndef __ARCH_WANT_NEW_STAT > #define __IGNORE_fstat > #endif No, the #ifdef is not needed here, the entry just means we no longer warn about the missing syscall because it has been replaced by statx and this is true regardless of __ARCH_WANT_NEW_STAT. Arnd