Re: [PATCH 01/13] Make the x86 bitops like test_bit() return bool

From: Dan Williams
Date: Thu Dec 17 2015 - 15:38:30 EST


On Wed, Apr 29, 2015 at 12:21 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
> Make the x86 bitop functions like test_bit() return bool rather than an
> integer. This permits gcc-5 to make better choices and can reduce the code
> size overall and allows some warnings to be evaded.

This also would have prevented this regression in -next:

https://lists.01.org/pipermail/linux-nvdimm/2015-December/003557.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/