From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: [PATCH v4 3/3] bitfield: add tests Date: Mon, 18 Jun 2018 22:47:01 +0200 Message-ID: <1529354821.3092.42.camel@sipsolutions.net> References: <20180618203750.28658-1-johannes@sipsolutions.net> <20180618203750.28658-3-johannes@sipsolutions.net> (sfid-20180618_224449_177090_AC34F0FA) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Linux Kernel Mailing List , netdev , Al Viro To: Andy Shevchenko Return-path: In-Reply-To: (sfid-20180618_224449_177090_AC34F0FA) Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 2018-06-18 at 23:44 +0300, Andy Shevchenko wrote: > On Mon, Jun 18, 2018 at 11:37 PM, Johannes Berg > 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 > > 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