On Mon, 2018-06-18 at 23:44 +0300, Andy Shevchenko wrote:
On Mon, Jun 18, 2018 at 11:37 PM, Johannes Berg
[off-list ref] wrote:
quoted
Add tests for the bitfield helpers. The constant ones will all
be folded to nothing by the compiler (if everything is correct
in the header file), and the variable ones do some tests against
open-coding the necessary shifts.
A few test cases that should fail/warn compilation are provided
under ifdef.
Reviewed-by: Andy Shevchenko <redacted>
Though license mismatch. Either GPL-2.0+ for SPDX, or "GPL v2" for _LICENSE().
Sigh. Yeah, I guess I'll resend. That's what I get for copy/pasting.
johannes