Re: [PATCH] x86/microcode/amd: fix uninitalized structure cp

From: Colin Ian King
Date: Thu Jan 16 2020 - 04:44:15 EST


On 15/01/2020 12:42, Borislav Petkov wrote:
> On Wed, Jan 15, 2020 at 07:25:07AM +0300, Dan Carpenter wrote:
>> It's probably complaining that cp.name[] isn't initialized.
>
> That is possible.
>
>> UBSan will probably generate a warning at runtime when we do:
>>
>> *ret = cp;
>>
>> But otherwise it's harmless.
>
> Yes, because we don't do anything with cpio_data.name.
>
Yep, apologies for the noise generated by this patch, please ignore it.

Colin