Re: [PATCH] platform/x86/amd/hsmp: fix compile-testing without CONFiG_AMD_NB
From: Arnd Bergmann
Date: Tue Oct 29 2024 - 07:04:39 EST
On Tue, Oct 29, 2024, at 10:33, Borislav Petkov wrote:
> On Tue, Oct 29, 2024 at 09:23:20AM +0000, Arnd Bergmann wrote:
>>
>> #define amd_nb_num(x) 0
>> #define amd_nb_has_feature(x) false
>> -#define node_to_amd_nb(x) NULL
>> +static inline struct amd_northbridge *node_to_amd_nb(int node)
>> +{
>> + return NULL;
>> +}
>> #define amd_gart_present(x) false
>
> ... so this fix should go to Linus now so that build testing doesn't break?
>
That would work, or Ilpo can pick it into the tree that
has the driver changes, possibly folding the fix into the
other changes.
Arnd