Re: [PATCH v6 5/8] EDAC/ghes: Make ghes_edac a proper module to remove the dependency on ghes

From: Borislav Petkov
Date: Mon Sep 26 2022 - 07:39:51 EST


On Sun, Sep 25, 2022 at 03:07:12PM +0000, Justin He wrote:
> Okay, I am fine with removing ghes_present and ghes_edac_preferred if
> It is ok to register empty ghes_dev list without prompting an error

What "prompting an error"?

In that case, you simply return a NULL list which says that GHES hasn't
been initialized...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette