Re: [PATCH v3 04/12] module: Add printk format to add module build ID to stacktraces

From: Andy Shevchenko
Date: Wed Apr 07 2021 - 11:37:25 EST


On Wed, Apr 07, 2021 at 05:03:47PM +0200, Petr Mladek wrote:
> On Tue 2021-03-30 20:05:12, Stephen Boyd wrote:

> Please add something like:
>
> /* Keep BUILD_ID_SIZE_MAX in sync with the below used %20phN */
> BUILD_BUG_ON(BUILD_ID_SIZE_MAX != 20)
>
> to make sure the the hard

Why not static assert?

--
With Best Regards,
Andy Shevchenko