Re: [PATCH 1/2] pstore/ram: Register to module device table

From: Kees Cook
Date: Thu Jan 11 2024 - 13:22:26 EST


On Wed, Jan 10, 2024 at 06:05:02PM -0300, Nícolas F. R. A. Prado wrote:
> Register the compatible for this module on the module device table so
> it can be automatically loaded when a matching DT node is present,
> allowing logging of panics and oopses without any intervention.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

Ah-ha! Yeah, good idea.

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook