iommu/pamu: Replace use of kzfree with kfree_sensitive
kzfree() is effectively deprecated as of commit 453431a549
("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>
This commit is contained in:
parent
f75aef392f
commit
ce433d0f70
|
@ -1174,7 +1174,7 @@ error:
|
|||
if (irq != NO_IRQ)
|
||||
free_irq(irq, data);
|
||||
|
||||
kzfree(data);
|
||||
kfree_sensitive(data);
|
||||
|
||||
if (pamu_regs)
|
||||
iounmap(pamu_regs);
|
||||
|
|
Loading…
Reference in New Issue