Messages in this thread | | | Date | Wed, 15 Jan 2020 13:42:52 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86/microcode/amd: fix uninitalized structure cp |
| |
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.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |