pci_dma_mapping_error() has been phased out. There is no more point in looking for it here. Just remove the corresponding hook. Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> --- check_dma_mapping_error.c | 1 - 1 file changed, 1 deletion(-) diff --git a/check_dma_mapping_error.c b/check_dma_mapping_error.c index 10662db37312..21bea572a6bc 100644 --- a/check_dma_mapping_error.c +++ b/check_dma_mapping_error.c @@ -77,7 +77,6 @@ void check_dma_mapping_error(int id) my_id = id; add_function_assign_hook("dma_mapping_error", &match_assign, NULL); - add_function_assign_hook("pci_dma_mapping_error", &match_assign, NULL); add_hook(&match_condition, CONDITION_HOOK); add_hook(&match_return, RETURN_HOOK); add_modification_hook(my_id, &ok_to_use); -- 2.34.1