* [PATCH] check_dma_mapping_error: Remove check for pci_dma_mapping_error()
@ 2022-05-31 20:03 Christophe JAILLET
2022-06-01 15:25 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2022-05-31 20:03 UTC (permalink / raw)
To: smatch; +Cc: 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 <christophe.jaillet@wanadoo.fr>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] check_dma_mapping_error: Remove check for pci_dma_mapping_error()
2022-05-31 20:03 [PATCH] check_dma_mapping_error: Remove check for pci_dma_mapping_error() Christophe JAILLET
@ 2022-06-01 15:25 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2022-06-01 15:25 UTC (permalink / raw)
To: Christophe JAILLET; +Cc: smatch
On Tue, May 31, 2022 at 10:03:07PM +0200, Christophe JAILLET wrote:
> 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@wanadoo.fr>
Applied. Thanks!
regards,
dan carpenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-01 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 20:03 [PATCH] check_dma_mapping_error: Remove check for pci_dma_mapping_error() Christophe JAILLET
2022-06-01 15:25 ` Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.