[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d1a52fa2-380a-421b-8c46-5150a39be484@www.fastmail.com>
Date: Mon, 29 Aug 2022 13:36:46 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Tiezhu Yang" <yangtiezhu@...ngson.cn>,
"Huacai Chen" <chenhuacai@...nel.org>,
"WANG Xuerui" <kernel@...0n.name>
Cc: loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] LoongArch: Fix warning: #warning syscall fstat not implemented
On Mon, Aug 29, 2022, at 11:55 AM, Tiezhu Yang wrote:
> CALL scripts/checksyscalls.sh
> <stdin>:569:2: warning: #warning syscall fstat not implemented [-Wcpp]
> @@ -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
The correct fix is to change scripts/checksyscalls.sh,
making it always define __IGNORE_fstat
Arnd
Powered by blists - more mailing lists