On Wed, 2023-01-18 at 19:21 +0100, Alexander Lobakin wrote: > > So you could pull out the expression "((n) & ((n) - 1)) != 0" from all > > four of these, but it doesn't feel worth it. > > Aaaah I see. > > __BUILD_BUG_ON_NOT_POWER_OF_2_ZERO() then? :D > > (mostly joking and not sure it's worth it, up to you) > Yeah exactly! I briefly considered but didn't really want to touch build_bug.h for basically nothing :) johannes