summaryrefslogtreecommitdiff
path: root/util/i915tool
diff options
context:
space:
mode:
Diffstat (limited to 'util/i915tool')
-rw-r--r--util/i915tool/spatches/fixcalls.cocci12
-rw-r--r--util/i915tool/spatches/fx.cocci2
-rw-r--r--util/i915tool/spatches/intel_display.c.cocci2
3 files changed, 8 insertions, 8 deletions
diff --git a/util/i915tool/spatches/fixcalls.cocci b/util/i915tool/spatches/fixcalls.cocci
index 50e6458fd3..11cbe4a6ff 100644
--- a/util/i915tool/spatches/fixcalls.cocci
+++ b/util/i915tool/spatches/fixcalls.cocci
@@ -46,7 +46,7 @@ type T;
@@
T f(...){<...
-DRM_DEBUG_KMS(
-+fprintf(stderr,
++fprintf(stderr,
...);
...>}
@@
@@ -55,7 +55,7 @@ type T;
@@
T f(...){<...
-DRM_ERROR(
-+fprintf(stderr,
++fprintf(stderr,
...);
...>}
@@
@@ -64,7 +64,7 @@ type T;
@@
T f(...){<...
-DRM_DEBUG(
-+fprintf(stderr,
++fprintf(stderr,
...);
...>}
@@
@@ -73,7 +73,7 @@ type T;
@@
T f(...){<...
-DRM_DEBUG_DRIVER(
-+fprintf(stderr,
++fprintf(stderr,
...);
...>}
@@
@@ -104,7 +104,7 @@ expression E1, E2;
@@
identifier d;
@@
--static
+-static
const struct pci_device_id d[] = {...};
@@
expression E1;
@@ -113,7 +113,7 @@ expression E1;
+if (
E1
-,
-+) fprintf(stderr,
++) fprintf(stderr,
...);
@@
expression E1;
diff --git a/util/i915tool/spatches/fx.cocci b/util/i915tool/spatches/fx.cocci
index e47ddcab69..576cfcc388 100644
--- a/util/i915tool/spatches/fx.cocci
+++ b/util/i915tool/spatches/fx.cocci
@@ -4,7 +4,7 @@ type T;
@@
T f(...){...
-\(DRM_DEBUG_KMS|DRM_ERRRO\)(
-+fprintf(stderr,
++fprintf(stderr,
...);
...}
diff --git a/util/i915tool/spatches/intel_display.c.cocci b/util/i915tool/spatches/intel_display.c.cocci
index d7d87d3a9f..6e16bbd906 100644
--- a/util/i915tool/spatches/intel_display.c.cocci
+++ b/util/i915tool/spatches/intel_display.c.cocci
@@ -6,7 +6,7 @@ identifier d;
@@
- intel_limit_t d = {...};
@@
-@@
+@@
- intel_connector_attach_encoder(...){...}
@@
@@