]> Git Repo - J-linux.git/commitdiff
iommu/pamu: Replace use of kzfree with kfree_sensitive
authorAlex Dewar <[email protected]>
Fri, 11 Sep 2020 13:53:25 +0000 (14:53 +0100)
committerJoerg Roedel <[email protected]>
Fri, 18 Sep 2020 08:59:04 +0000 (10:59 +0200)
kzfree() is effectively deprecated as of commit 453431a54934 ("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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/fsl_pamu.c

index 099a11a35fb9c06d52135e89d87cc4b7125bf75a..b9a974d9783113d9ab143dc5c42e7e47657d85a9 100644 (file)
@@ -1174,7 +1174,7 @@ error:
        if (irq != NO_IRQ)
                free_irq(irq, data);
 
-       kzfree(data);
+       kfree_sensitive(data);
 
        if (pamu_regs)
                iounmap(pamu_regs);
This page took 0.052711 seconds and 4 git commands to generate.