check_dma_mapping_error: Remove check for pci_dma_mapping_error()
PATCH 1/1 check_dma_mapping_error: Remove check for pci_dma_mapping_error()
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 <[email protected]>
--- check_dma_mapping_error.c | 1 - 1 file changed, 1 deletion(-)
check_dma_mapping_error.c +0 -1
@@ -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);
Signature · 1 line
2.34.1
Dan Carpenter
AppliedQuoted 5 lines · Christophe JAILLET
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 <[email protected]>
Applied. Thanks!
regards,
dan carpenter