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

Herbert Xu
2020-07-10T06:39:15Z

On Thu, Jul 09, 2020 at 11:13:31AM -0700, Linus Torvalds wrote:
> On Thu, Jul 9, 2020 at 5:30 AM Herbert Xu <herbert@gondor.apana.org.au> 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@gmail.com/
>
> does that work for you?

Yes that should work too. Thanks!
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt