From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
To: smatch@vger.kernel.org
Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Subject: [PATCH] check_dma_mapping_error: Remove check for pci_dma_mapping_error()
Date: Tue, 31 May 2022 22:03:07 +0200 [thread overview]
Message-ID: <57bf32280dce6a81db6d05365895921ece85f338.1654027375.git.christophe.jaillet@wanadoo.fr> (raw)
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
next reply other threads:[~2022-05-31 20:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-31 20:03 Christophe JAILLET [this message]
2022-06-01 15:25 ` [PATCH] check_dma_mapping_error: Remove check for pci_dma_mapping_error() Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57bf32280dce6a81db6d05365895921ece85f338.1654027375.git.christophe.jaillet@wanadoo.fr \
--to=christophe.jaillet@wanadoo.fr \
--cc=smatch@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).