Re: [PATCH 02/16] x86/amd_nb: Restrict init function to AMD-based systems

From: Borislav Petkov
Date: Thu Oct 31 2024 - 06:37:25 EST


On Thu, Oct 31, 2024 at 08:09:14AM +0000, Zhuo, Qiuxu wrote:
> This function could fail and return an error.
> Is an early return with an error code needed if this function fails?

No, grep for amd_northbridges.num checks in the code.

--
Regards/Gruss,
Boris.

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