[kernel] powerpc/powernv/eeh/npu: Fix uninitialized variables in opal_pci_eeh_freeze_status

Michael Ellerman patch-notifications at ellerman.id.au
Mon Dec 24 00:28:23 AEDT 2018


On Mon, 2018-11-19 at 04:25:17 UTC, Alexey Kardashevskiy wrote:
> The current implementation of the OPAL_PCI_EEH_FREEZE_STATUS call in
> skiboot's NPU driver does not touch the pci_error_type parameter so
> it might have garbage but the powernv code analyzes it nevertheless.
> 
> This initializes pcierr and fstate to zero in all call sites.
> 
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> Reviewed-by: Sam Bobroff <sbobroff at linux.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c20577014f85f36d4e137d3d52a1f6

cheers


More information about the Linuxppc-dev mailing list