Re: [PATCH] mm/vmstat: Fix -Wenum-enum-conversion warning in vmstat.h
From: Nathan Chancellor
Date: Wed Oct 16 2024 - 14:02:42 EST
On Tue, Oct 15, 2024 at 04:55:23PM +0000, Aleksei Vetrov wrote:
> On Tue, Oct 15, 2024 at 01:47:14AM -0700, Nathan Chancellor wrote:
> > We should be able to disable -Wenum-enum-conversion without impacting
> > the ability to catch the cases that you mentioned above. It also helps
> > that GCC supports -Wenum-conversion, but it does not seem like they have
> > an equivalent for -Wenum-enum-conversion.
>
> Could you please create and send a patch to disable
> -Wenum-enum-conversion?
Sure, I have sent
https://lore.kernel.org/20241016-disable-two-clang-enum-warnings-v1-1-ae886d7a0269@xxxxxxxxxx/
now, we can continue discussion over there.
Cheers,
Nathan