lkml.org 
[lkml]   [2016]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/6] tracing: add __print_flags_u64()
On Thu, Dec 01, 2016 at 09:12:54AM -0500, Steven Rostedt wrote:
> On Wed, 30 Nov 2016 16:45:28 -0700
> Ross Zwisler <ross.zwisler@linux.intel.com> wrote:
> > diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c
> > index 3fc2042..ed4398f 100644
> > --- a/kernel/trace/trace_output.c
> > +++ b/kernel/trace/trace_output.c
> > @@ -124,6 +124,44 @@ EXPORT_SYMBOL(trace_print_symbols_seq);
> >
> > #if BITS_PER_LONG == 32
> > const char *
> > +trace_print_flags_seq_u64(struct trace_seq *p, const char *delim,
> > + unsigned long long flags,
> > + const struct trace_print_flags_u64 *flag_array)
> > +{
> > + unsigned long mask;
>
> Don't you want mask to be unsigned long long?

Yep, thanks for spotting that. I'll fix it in v3.

\
 
 \ /
  Last update: 2016-12-01 16:36    [W:0.162 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site