Re: [PATCH v4 2/2] bits: Add tests of GENMASK

From: Nico Pache
Date: Thu Apr 22 2021 - 15:41:10 EST


Hey,

Where is TEST_GENMASK_FAILURES being defined? This fails when compiling this

test as a module.

Am I missing something here?

Cheers!

-- Nico

On 6/21/20 1:42 AM, Rikard Falkeborn wrote:
> [Snip...]
> +#ifdef TEST_GENMASK_FAILURES
> + /* these should fail compilation */
> + GENMASK(0, 1);
> + GENMASK(0, 10);
> + GENMASK(9, 10);
> +#endif
> [Snap..]