Messages in this thread | | | Date | Tue, 30 Aug 2022 13:37:05 +0200 | From | "Arnd Bergmann" <> | 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
| |