Re: [PATCH] LoongArch: Fix some build warnings with -W1 option

From: Xi Ruoyao
Date: Sat Sep 16 2023 - 06:31:23 EST


On Sat, 2023-09-16 at 18:17 +0800, bibo mao wrote:
> > What is a -W1 option?  At least GCC 13 does not recognize it.
> >
> > And generally you cannot randomly add warning options building the
> > kernel and expect a clean result.  I don't think we should "fix"
> > breakages caused by custom warnings at all, unless the warning indicates
> > a real issue.
> it is W=1 option:), and it is reported by lkp tool like this:

Get it, then the subject should just say "W=1" instead of "-W1".

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