Re: [PATCH v3] checksyscalls: Ignore fstat to silence build warning on LoongArch

From: Xi Ruoyao
Date: Sun Oct 09 2022 - 10:03:30 EST


On Sun, 2022-10-09 at 12:33 +0800, Tiezhu Yang wrote:
>
>
> On 08/30/2022 11:27 AM, Tiezhu Yang wrote:
> > fstat is replaced by statx on the new architecture, so an exception
> > is added to the checksyscalls script to silence the following build
> > warning on LoongArch:
> >
> >   CALL    scripts/checksyscalls.sh
> > <stdin>:569:2: warning: #warning syscall fstat not implemented [-
> > Wcpp]
>
> Hi all,
>
> The above warning still exists when build the latest loongarch-next.
>
> Do you know which tree this patch will go through?
>
> Could you please pick it up via your tree in this merge window?

A similar change 3ef6ca4f354c ("checksyscalls: Unconditionally ignore
fstat{,at}64") was merged through RISC-V tree, so it should be OK to
merge this from loongarch-next.

Not sure if we need to get an Ack from someone first though.

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University