Messages in this thread | | | Subject | Re: [PATCH v4 3/3] bitfield: add tests | From | Johannes Berg <> | Date | Mon, 18 Jun 2018 22:47:01 +0200 |
| |
On Mon, 2018-06-18 at 23:44 +0300, Andy Shevchenko wrote: > On Mon, Jun 18, 2018 at 11:37 PM, Johannes Berg > <johannes@sipsolutions.net> wrote: > > 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 <andy.shevchenko@gmail.com> > > 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
| |