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


Groups > linux.kernel > #1386763 > unrolled thread

[PATCH 0/2] A couple hist trigger fixes

Started byTom Zanussi <tom.zanussi@linux.intel.com>
First post2016-04-25 21:10 +0200
Last post2016-04-26 15:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] A couple hist trigger fixes Tom Zanussi <tom.zanussi@linux.intel.com> - 2016-04-25 21:10 +0200
    Re: [PATCH 0/2] A couple hist trigger fixes Steven Rostedt <rostedt@goodmis.org> - 2016-04-26 15:50 +0200

#1386763 — [PATCH 0/2] A couple hist trigger fixes

FromTom Zanussi <tom.zanussi@linux.intel.com>
Date2016-04-25 21:10 +0200
Subject[PATCH 0/2] A couple hist trigger fixes
Message-ID<rrU3n-2yD-7@gated-at.bofh.it>
These are a couple of small fixes for problems pointed out by Dan
Carpenter.

patch 1, pointed out by Smatch though not actually a bug, cleans up
the code to explicitly check for something that was implied.  Thanks
to Steve Rostedt for suggesting the fix.

patch 2 fixes a PTR_ERR problem similar to the one previously
reported by Dan.

The following changes since commit d50c744ecde7ee3ba4d7ffb0e1c55e7a2f6bbc8e:

  tracing: Fix unsigned comparison to zero in hist trigger code (2016-04-19 18:56:05 -0400)

are available in the git repository at:

  git://git.yoctoproject.org/linux-yocto-contrib.git tzanussi/hist-trigger-err-fixes
  http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-contrib/log/?h=tzanussi/hist-trigger-err-fixes

Tom Zanussi (2):
  tracing: Add check for NULL event field when creating hist field
  tracing: Handle tracing_map_alloc_elts() error path correctly

 kernel/trace/trace_events_hist.c | 3 +++
 kernel/trace/tracing_map.c       | 8 ++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

-- 
1.9.3

[toc] | [next] | [standalone]


#1387488

FromSteven Rostedt <rostedt@goodmis.org>
Date2016-04-26 15:50 +0200
Message-ID<rsbxg-eJ-11@gated-at.bofh.it>
In reply to#1386763
On Mon, 25 Apr 2016 14:01:26 -0500
Tom Zanussi <tom.zanussi@linux.intel.com> wrote:

> These are a couple of small fixes for problems pointed out by Dan
> Carpenter.
> 
> patch 1, pointed out by Smatch though not actually a bug, cleans up
> the code to explicitly check for something that was implied.  Thanks
> to Steve Rostedt for suggesting the fix.
> 
> patch 2 fixes a PTR_ERR problem similar to the one previously
> reported by Dan.
> 
> The following changes since commit d50c744ecde7ee3ba4d7ffb0e1c55e7a2f6bbc8e:
> 
>   tracing: Fix unsigned comparison to zero in hist trigger code (2016-04-19 18:56:05 -0400)
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/linux-yocto-contrib.git tzanussi/hist-trigger-err-fixes
>   http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-contrib/log/?h=tzanussi/hist-trigger-err-fixes
> 
> Tom Zanussi (2):
>   tracing: Add check for NULL event field when creating hist field
>   tracing: Handle tracing_map_alloc_elts() error path correctly
> 
>  kernel/trace/trace_events_hist.c | 3 +++
>  kernel/trace/tracing_map.c       | 8 ++++++--
>  2 files changed, 9 insertions(+), 2 deletions(-)
> 

Applied.

Thanks Tom,

-- Steve

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web