Linux Kernel Markers - Samples Coding Style Fix

- Change struct __mark_marker to struct marker.

It applies after
linux-kernel-markers-samples-checkpatch-fixes.patch
in the series.

Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Rusty Russell <[EMAIL PROTECTED]>
---
 samples/markers/probe-example.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: linux-2.6-lttng/samples/markers/probe-example.c
===================================================================
--- linux-2.6-lttng.orig/samples/markers/probe-example.c        2007-09-30 
09:39:49.000000000 -0400
+++ linux-2.6-lttng/samples/markers/probe-example.c     2007-09-30 
09:40:16.000000000 -0400
@@ -20,8 +20,8 @@ struct probe_data {
        marker_probe_func *probe_func;
 };
 
-void probe_subsystem_event(const struct __mark_marker *mdata,
-               void *private, const char *format, ...)
+void probe_subsystem_event(const struct marker *mdata, void *private,
+       const char *format, ...)
 {
        va_list ap;
        /* Declare args */
@@ -43,8 +43,8 @@ void probe_subsystem_event(const struct 
 
 atomic_t eventb_count = ATOMIC_INIT(0);
 
-void probe_subsystem_eventb(const struct __mark_marker *mdata,
-       void *private, const char *format, ...)
+void probe_subsystem_eventb(const struct marker *mdata, void *private,
+       const char *format, ...)
 {
        /* Increment counter */
        atomic_inc(&eventb_count);

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to