On 3/12/22 13:19, Andy Shevchenko wrote:
On Fri, Mar 11, 2022 at 8:50 PM Marek Vasut <marex@xxxxxxx> wrote:Add compile-time static_assert wrapper to verify that shifted realbits fit into storagebits. The macro is implemented in a more generic way so it can be used to verify other values if required.Thanks! I think we may leave it to maintainers to decide if it is worth adding or not.
Right, that's why I placed it as 7/7, since the macro is ... not pretty.