Re: [PATCH 5/6] powerpc/pseries: replace kmalloc with kzalloc in PLPKS driver

2022-11-24 Thread Andrew Donnellan
On Sun, 2022-11-06 at 15:58 -0500, Nayna Jain wrote: > Replace kmalloc with kzalloc in construct_auth() function to default > initialize structure with zeroes. > > Signed-off-by: Nayna Jain This seems sensible. > --- >  arch/powerpc/platforms/pseries/plpks.c | 8 ++-- >  1 file changed, 2 in

[PATCH 5/6] powerpc/pseries: replace kmalloc with kzalloc in PLPKS driver

2022-11-06 Thread Nayna Jain
Replace kmalloc with kzalloc in construct_auth() function to default initialize structure with zeroes. Signed-off-by: Nayna Jain --- arch/powerpc/platforms/pseries/plpks.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/platforms/pseries/plpks.c b/arch/p