Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1637774 > unrolled thread

Re: [PATCH] tracing: Use cpumask_available() to check if cpumask variable may be used

Started byMatthias Kaehlcke <mka@chromium.org>
First post2017-05-09 00:40 +0200
Last post2017-05-09 03:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] tracing: Use cpumask_available() to check if cpumask  variable may be used Matthias Kaehlcke <mka@chromium.org> - 2017-05-09 00:40 +0200
    Re: [PATCH] tracing: Use cpumask_available() to check if cpumask  variable may be used Steven Rostedt <rostedt@goodmis.org> - 2017-05-09 03:30 +0200

#1637774 — Re: [PATCH] tracing: Use cpumask_available() to check if cpumask variable may be used

FromMatthias Kaehlcke <mka@chromium.org>
Date2017-05-09 00:40 +0200
SubjectRe: [PATCH] tracing: Use cpumask_available() to check if cpumask variable may be used
Message-ID<tEZtT-1w6-5@gated-at.bofh.it>
El Fri, Apr 21, 2017 at 04:41:10PM -0700 Matthias Kaehlcke ha dit:

> This fixes the following clang warning:
> 
> kernel/trace/trace.c:3231:12: warning: address of array 'iter->started'
>   will always evaluate to 'true' [-Wpointer-bool-conversion]
>         if (iter->started)
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---
> Dependencies:
> - "cpumask: Add helper cpumask_available()"
>   - git.kernel.org tip master f7e30f01a9e2
>   - https://patchwork.kernel.org/patch/9678159/

Ping, any comments on this patch?

FYI: the dependency has landed in Linus' tree (f7e30f01a9e2)

Thanks

Matthias

[toc] | [next] | [standalone]


#1637807

FromSteven Rostedt <rostedt@goodmis.org>
Date2017-05-09 03:30 +0200
Message-ID<tF28q-3dx-3@gated-at.bofh.it>
In reply to#1637774
On Mon, 8 May 2017 15:36:16 -0700
Matthias Kaehlcke <mka@chromium.org> wrote:

> El Fri, Apr 21, 2017 at 04:41:10PM -0700 Matthias Kaehlcke ha dit:
> 
> > This fixes the following clang warning:
> > 
> > kernel/trace/trace.c:3231:12: warning: address of array 'iter->started'
> >   will always evaluate to 'true' [-Wpointer-bool-conversion]
> >         if (iter->started)
> > 
> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> > ---
> > Dependencies:
> > - "cpumask: Add helper cpumask_available()"
> >   - git.kernel.org tip master f7e30f01a9e2
> >   - https://patchwork.kernel.org/patch/9678159/  
> 
> Ping, any comments on this patch?
> 
> FYI: the dependency has landed in Linus' tree (f7e30f01a9e2)
>

Thanks for the ping. I'll test it some bit and try to get it out during
this merge window.

-- Steve

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web