lkml.org 
[lkml]   [2007]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] Linux Kernel Markers - Samples Coding Style Fix
    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 <mathieu.desnoyers@polymtl.ca>
    CC: Rusty Russell <rusty@rustcorp.com.au>
    ---
    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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-09-30 16:11    [W:0.023 / U:150.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site