[PATCH 7/8] NEWS: Mention igt.cocci

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And also pimp the spatch file itself with usage hints.

Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
---
 NEWS          | 3 +++
 lib/igt.cocci | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/NEWS b/NEWS
index ee920744f4c4..33354f9d5360 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
 Release 1.8 (xxxx-xx-xx)
 ------------------------
 
+- Added lib/igt.cocci semantic patch to catch often-seen patterns and convert
+  them to igt macros/infrastructure.
+
 Release 1.7 (2014-06-09)
 ------------------------
 
diff --git a/lib/igt.cocci b/lib/igt.cocci
index b5c0bfe658de..3246924f2c38 100644
--- a/lib/igt.cocci
+++ b/lib/igt.cocci
@@ -1,3 +1,11 @@
+// Semantic patch for common patters and their replacement by igt infrastructure
+// and macros. Please run with
+//
+// spatch --sp-file lib/igt.cocci --in-place tests/*.c
+//
+// on your new testcase.
+
+
 // Replace open-coded augmented igt_assert/skip/require with macro versions
 @@
 expression Ec;
-- 
2.0.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux