[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <78451bb1-e4d2-457a-adf7-8fb61be0fb3e@www.fastmail.com>
Date: Tue, 30 Aug 2022 13:37:05 +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 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
Powered by blists - more mailing lists