Re: [Part2 Patch v4.2] crypto: ccp: Add Platform Security Processor (PSP) device support

From: Borislav Petkov
Date: Wed Oct 04 2017 - 05:16:22 EST


On Wed, Oct 04, 2017 at 12:06:42PM +0530, P J P wrote:
> Needs to kfree(sp->psp_data) before setting to NULL.

Not if it is allocated with devm_kzalloc().

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--