Commit 5aa59e14 authored by Nayna Jain's avatar Nayna Jain Committed by Greg Kroah-Hartman
Browse files

powerpc/pseries: replace kmalloc with kzalloc in PLPKS driver



[ Upstream commit 212dd5cf ]

Replace kmalloc with kzalloc in construct_auth() function to default
initialize structure with zeroes.

Signed-off-by: default avatarNayna Jain <nayna@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221106205839.600442-6-nayna@linux.ibm.com


Stable-dep-of: 78435434 ("powerpc/pseries: make max polling consistent for longer H_CALLs")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 70f64cb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment