Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933180AbcDYTBc (ORCPT ); Mon, 25 Apr 2016 15:01:32 -0400 Received: from mga04.intel.com ([192.55.52.120]:59485 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754625AbcDYTBb (ORCPT ); Mon, 25 Apr 2016 15:01:31 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,533,1455004800"; d="scan'208";a="939895340" From: Tom Zanussi To: rostedt@goodmis.org Cc: dan.carpenter@oracle.com, linux-kernel@vger.kernel.org, Tom Zanussi Subject: [PATCH 0/2] A couple hist trigger fixes Date: Mon, 25 Apr 2016 14:01:26 -0500 Message-Id: X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 29 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