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

Colin Ian King
2020-01-16T09:44:15Z

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