Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2962341rwe; Mon, 29 Aug 2022 03:34:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ZrPKHUzoTkgH0g4eO4GrHM0K+ZXi3OPBM1BVe0665UbQG8SKMxhGETcZWMQ/EMvZHS9On X-Received: by 2002:aa7:df82:0:b0:447:89da:483a with SMTP id b2-20020aa7df82000000b0044789da483amr15853364edy.418.1661769292012; Mon, 29 Aug 2022 03:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661769292; cv=none; d=google.com; s=arc-20160816; b=G8D3hJGs9lL30wScPbgUCgUjUWxPEKqu+I2LWhom7CxMWAYEKuyenYYrLpTwswxQIs ncbddR3z6gHq2YjS9psBg/MWbXBVUm56HRD8KsurYWjp21kjFnSOyIoEJTYsRt29iakk NOOnU7Iyece4hILl4g3DqYAXtjvUekF4WSujzs2+Cy3ac8MX93lqQNXSmxUV6S8EbyGl I21HGXR+5UPkU6Dey9eahvxuLlQ8B3gIaYYvU+IZ1pFm6MtJAGLFpdie6ubwc6OP45fW BnnybUwhb7JryXGIYVPkpZTmARF3AxEjeG1tA1dyyyb41ICcH1ueq+AlB94PIgiYBbXb RrpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=DayjxE+QpLll/QklEZ/PjHttCeQJL62iIxrvBI1qjhA=; b=YlV3r0vUqIgZJtTCX6UYvYnF3OK7nhBiQ9jrObWfAbubGKAwvDxS0dmQZaiJ3RbGNx n/jVHmZQcyhnYPc5v0ADUP75sCrqn1gmi3/U3Jzo4+REHcfAw2GETXdqA4ol018lpXXr ydSwLzg09Y0efMQtoyHrSpwBjHaBcfCAjwNDEsj7UhFhRBHNRIR276g9lxLxGaIFIsIN DPq9FBuCZxsVrbSpXes9PpKfNPvjo3df2/aT5WITrUr3XE9y4LCQbSRdV5dzCNDoucoM 7u3EOqAdezxqD5opbtxvcJp9Ao4i5DJtqMLzQb8Vt78yZq3+8U4gJ8kw5m3abBqRtokW zBEQ== ARC-Authentication-Results: i=1; mx.google.com; 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 hz5-20020a1709072ce500b0073d86573bcbsi4293623ejc.20.2022.08.29.03.34.26; Mon, 29 Aug 2022 03:34:52 -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; 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 S229764AbiH2Jzi (ORCPT + 99 others); Mon, 29 Aug 2022 05:55:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbiH2Jzg (ORCPT ); Mon, 29 Aug 2022 05:55:36 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D3A5E2E6AE for ; Mon, 29 Aug 2022 02:55:33 -0700 (PDT) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxT+ATjQxjh88LAA--.52227S2; Mon, 29 Aug 2022 17:55:32 +0800 (CST) From: Tiezhu Yang To: Huacai Chen , WANG Xuerui Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] LoongArch: Fix warning: #warning syscall fstat not implemented Date: Mon, 29 Aug 2022 17:55:31 +0800 Message-Id: <1661766931-7277-1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1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU0cTm3UUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Define __ARCH_WANT_NEW_STAT to fix the following build warning: CALL scripts/checksyscalls.sh :569:2: warning: #warning syscall fstat not implemented [-Wcpp] Signed-off-by: Tiezhu Yang --- arch/loongarch/include/uapi/asm/unistd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/include/uapi/asm/unistd.h b/arch/loongarch/include/uapi/asm/unistd.h index fcb6689..b344b1f 100644 --- a/arch/loongarch/include/uapi/asm/unistd.h +++ b/arch/loongarch/include/uapi/asm/unistd.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_SYS_CLONE #define __ARCH_WANT_SYS_CLONE3 -- 2.1.0