Re: more potential janitor work: simplifying test for power of 2

Linus Probert
2026-04-01T12:16:10Z

On Tue Mar 31, 2026 at 1:49 PM CEST, Robert P. J. Day wrote:
>

[...]

> Lots of simplification there if one wants some janitor work; I don't
> see a coccinelle test for this.

I'll definitely take a look.

I've only ever used coccinelle, never written any scritps for it. But
for these kinds of things, is it valuable to introduce such tests?

Or are they involved in any form of automated testing? I assume we don't
want to wile up an angry mob of maintainers.

Br,
Linus