lkml.org 
[lkml]   [2011]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/11] dynamic_debug: return int from ddebug_change
On Tue, Jun 28, 2011 at 12:24:56PM +0200, Bart Van Assche wrote:
> On Tue, Jun 28, 2011 at 9:09 AM, Jim Cromie <jim.cromie@gmail.com> wrote:
> > @@ -425,6 +424,7 @@ static int ddebug_exec_query(char *query_string)
> >  #define MAXWORDS 9
> >        int nwords;
> >        char *words[MAXWORDS];
> > +       int nfound;
> >
> >        nwords = ddebug_tokenize(query_string, words, MAXWORDS);
> >        if (nwords <= 0)
> > @@ -435,7 +435,8 @@ static int ddebug_exec_query(char *query_string)
> >                return -EINVAL;
> >
> >        /* actually go and implement the change */
> > -       ddebug_change(&query, flags, mask);
> > +       nfound = ddebug_change(&query, flags, mask);
> > +
> >        return 0;
>
> Do these changes actually do anything, or did I miss something ?
>
> Bart.

its used in a subsequent patch to decide whether or not to call
add_to_pending.

thanks,

-Jason
--
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: 2011-06-28 16:59    [W:0.056 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site