[PATCH i-g-t 25/33] cocci: Split out ioctl rules, remove igt.cocci

Lyude lyude at redhat.com
Mon Jun 10 15:03:13 UTC 2019


From: Lyude Paul <lyude at redhat.com>

Now that we've finally split out all of the individual sets of rules
into their own seperate files, get rid of the igt.cocci file.

Signed-off-by: Lyude Paul <lyude at redhat.com>
---
 scripts/cocci/{igt.cocci => igt_ioctl.cocci} | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
 rename scripts/cocci/{igt.cocci => igt_ioctl.cocci} (81%)

diff --git a/scripts/cocci/igt.cocci b/scripts/cocci/igt_ioctl.cocci
similarity index 81%
rename from scripts/cocci/igt.cocci
rename to scripts/cocci/igt_ioctl.cocci
index 86f0c1ed..984a6660 100644
--- a/scripts/cocci/igt.cocci
+++ b/scripts/cocci/igt_ioctl.cocci
@@ -1,12 +1,8 @@
-// Semantic patch for common patterns and their replacement by igt
-// infrastructure and macros. This file supports both report mode, and patch
-// mode.
-// See spatch --help for more information.
+// Replace open-coded do_ioctl
 
 virtual report
 virtual patch
 
-// replace open-coded do_ioctl
 @depends on patch@
 expression a, b, c, e;
 @@
-- 
2.21.0



More information about the Intel-gfx-trybot mailing list