Commit ce433d0f authored by Alex Dewar's avatar Alex Dewar Committed by Joerg Roedel

iommu/pamu: Replace use of kzfree with kfree_sensitive

kzfree() is effectively deprecated as of commit 453431a5 ("mm,
treewide: rename kzfree() to kfree_sensitive()") and is now simply an
alias for kfree_sensitive(). So just replace it with kfree_sensitive().
Signed-off-by: default avatarAlex Dewar <alex.dewar90@gmail.com>
Link: https://lore.kernel.org/r/20200911135325.66156-1-alex.dewar90@gmail.comSigned-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent f75aef39
......@@ -1174,7 +1174,7 @@ static int fsl_pamu_probe(struct platform_device *pdev)
if (irq != NO_IRQ)
free_irq(irq, data);
kzfree(data);
kfree_sensitive(data);
if (pamu_regs)
iounmap(pamu_regs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment