Skip to content

Commit

Permalink
iommu/pamu: Replace use of kzfree with kfree_sensitive
Browse files Browse the repository at this point in the history
kzfree() is effectively deprecated as of commit 453431a ("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: Alex Dewar <alex.dewar90@gmail.com>
Link: https://lore.kernel.org/r/20200911135325.66156-1-alex.dewar90@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
  • Loading branch information
Alex Dewar authored and Joerg Roedel committed Sep 18, 2020
1 parent f75aef3 commit ce433d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/fsl_pamu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ce433d0

Please sign in to comment.