tpm-use-idr_find-not-idr_find_slowpath.patch removed from -mm tree
The patch titled
Subject: tpm: use idr_find(), not idr_find_slowpath()
has been removed from the -mm tree. Its filename was
tpm-use-idr_find-not-idr_find_slowpath.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Matthew Wilcox <[email protected]>
Subject: tpm: use idr_find(), not idr_find_slowpath()
idr_find_slowpath() is not intended to be part of the public API, it's an implementation detail. There's no reason to skip straight to the slowpath here.
Signed-off-by Matthew Wilcox <[email protected]>
Tested-by Kirill A. Shutemov <[email protected]>
Cc Konstantin Khlebnikov <[email protected]>
Cc Ross Zwisler <[email protected]>
Cc Peter Huewe <[email protected]>
Cc Marcel Selhorst <[email protected]>
Cc Jarkko Sakkinen <[email protected]>
Cc Jason Gunthorpe <[email protected]>
Cc Matthew Wilcox <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/char/tpm/tpm-chip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/char/tpm/tpm-chip.c renamed from drivers/char/tpm/tpm-chip.c~tpm-use-idr_find-not-idr_find_slowpath +2 -2
@@ -84,7 +84,7 @@ EXPORT_SYMBOL_GPL(tpm_put_ops);* * The return'd chip has been tpm_try_get_ops'd and must be released via * tpm_put_ops -*/ +*/ struct tpm_chip *tpm_chip_find_get (int chip_num) {struct tpm_chip *chip, *res =NULL ;
@@ -103,7 +103,7 @@ struct tpm_chip *tpm_chip_find_get(int c } }while (chip_prev != chip_num); }else { - chip =idr_find_slowpath (&dev_nums_idr, chip_num); + chip =idr_find (&dev_nums_idr, chip_num);if (chip && !tpm_try_get_ops (chip)) res = chip; }
_
Patches currently in -mm which might be from [email protected] are
radix-tree-test-suite-fix-compilation.patch