Re: [PATCH v4 1/2] linux/bits.h: fix unsigned less than zero warnings

From: Linus Torvalds
Date: Thu Jul 09 2020 - 14:13:53 EST


On Thu, Jul 9, 2020 at 5:30 AM Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> I'm still getting the same warning even with the patch, for example:

Are you building with W=1?

There's a patch to move that broken -Wtype-limits thing to W=2.

https://lore.kernel.org/lkml/20200708190756.16810-1-rikard.falkeborn@xxxxxxxxx/

does that work for you?

Linus