Re: [PATCH v1 1/3] printk: honor the max_reason field in kmsg_dumper

From: Pavel Tatashin
Date: Mon May 04 2020 - 13:56:44 EST


> Hmm, I didn't realize that enums were allowed to have duplicates. That can
> usually screw up logic. I would recommend making that a define afterward.
>
> #define KMSG_DUMP_MAX KMSG_DUMP_POWEROFF
>
> As is done in other locations of the kernel.
>

Hi Steve,

Sure, I will change it to define.

Thank you,
Pasha