Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5450977imu; Wed, 19 Dec 2018 11:22:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/VicR2C4M4Ah+y5EYoZ4zJH9Q8OVEui1O06WFyWZnyGtbNbuuGlu46Z0A+1RsHerm+MLz9Z X-Received: by 2002:a63:4611:: with SMTP id t17mr3978555pga.119.1545247364257; Wed, 19 Dec 2018 11:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545247364; cv=none; d=google.com; s=arc-20160816; b=jCHkv3azZ15ii/Zae1ooqqzzIBwRLPK/+WOn24QzJBpNW6tuWw+wnnQr2IX9Yszepf 36Yvep+4HNCKbMC2emOiQrolOPt87sODsBtBZrDfQ7KmMOnSLDfImG3ugcXCHM6BEUX6 gJzSo+nL61SlCXXyX9IN+zxxVHAvxP92TuylJZH0HYs2fCxvf4cGNv61/sVg+YxTa3Tg k//XBVI0zbPQK2OdXyb9BMc1tXygwjY7Qxl15LzVOo3iWVtSM60NaIrsRbBobug59IVR /ci/I3eZKpXfJxYqCn+qbcdtH524SSJ8UXzWJLdMFgVB6vkUdDbxXKkVSQFcDJsf6tHG ad3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=aS82eGPXRJmy5jcwN/QHF4qbsSBTB/WQ0NaJ02Y0Zd4=; b=MuDihu68/gJFbcxolejgUsbgsGcW8tjBPAu1cxTZQNgeS2dnjhTvCYaFhPv7oB5EC4 bc3Q0+8NPsVXOtjZZZskkPaO0+P2LxQWXtpp68uwDOOLlPdLCmMPImXG6PEoF2WhfY38 XK6Ff5eiFTpj5jM8VX1ATNj/TsmrzCP9zi1F9RnmpIgj63a6hUNs2XpZrxl20YxB9FjT RxKdEdVLir5KqYIu8o63h0IPCwMTT+FOac2rgnS/p22m8/uCJhCpBW/IAZDm0ZJq1TTW gnFGK9fqzPRN7vNuAlv4PqBf6KOqmErMXscOlHJAnZheKvIDWibAdhIJ9iaZmkxWLxgH o5og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SlqwR5jU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si17149923pgl.42.2018.12.19.11.22.27; Wed, 19 Dec 2018 11:22:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SlqwR5jU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730276AbeLSTJB (ORCPT + 99 others); Wed, 19 Dec 2018 14:09:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:41188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728491AbeLSTJA (ORCPT ); Wed, 19 Dec 2018 14:09:00 -0500 Received: from tzanussi-mobl (c-98-220-238-81.hsd1.il.comcast.net [98.220.238.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FAD22080D; Wed, 19 Dec 2018 19:08:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545246539; bh=FlBUy2HEKaQ16AcHoqQhFlJEKipg9lH6Y23r3HI9CRE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=SlqwR5jUTqCNPbbhQFSA0PstGwrg2Dq32nWLVKhfzWXHaehIu4KuYC0osoxFPrQnJ wsmb2x/3ABCDcU+UR1Ck5ZUQUxw9isMpu0yEuYjtIZd8V3NmnG9EQFtsOJKpKy9moK lnBDzexufG83BMhzi4XhSd7OKQH8ctl4k7lIZA8c= Message-ID: <1545246538.4239.6.camel@kernel.org> Subject: Re: [PATCH 3/7] tracing: Use var_refs[] for hist trigger reference checking From: Tom Zanussi To: Steven Rostedt Cc: Masami Hiramatsu , tglx@linutronix.de, namhyung@kernel.org, vedang.patel@intel.com, bigeasy@linutronix.de, joel@joelfernandes.org, mathieu.desnoyers@efficios.com, julia@ni.com, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Date: Wed, 19 Dec 2018 13:08:58 -0600 In-Reply-To: <20181219103647.18c61a6a@gandalf.local.home> References: <20181219212224.968ee0ad61aada5a8a3f634f@kernel.org> <1545231703.4491.2.camel@kernel.org> <20181219103647.18c61a6a@gandalf.local.home> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steve, On Wed, 2018-12-19 at 10:36 -0500, Steven Rostedt wrote: > On Wed, 19 Dec 2018 09:01:43 -0600 > Tom Zanussi wrote: > > > > > + if (hist_field && hist_field->var.idx == var_idx && > > > > + hist_field->var.hist_data == var_data) > > > > + found = hist_field; > > > > > > > > return found; > > > > > > It seems we don't need "found" var here. Just return hist_field > > > or > > > NULL. > > > > > > > OK, will change these and resubmit shortly. > > Tom, > > If this is the only patch in the series that needs updating, can you > just reply to this patch with the v2 of 3/7? That is have a subject > of: > > [PATCH v2 3/7] tracing: Use var_refs[] for hist trigger reference > checking > > and reply to the [PATCH 3/7] > > > This isn't the normal way of updates, but I want to start taking this > patches in ASAP, and I figured this may be the easiest for both of > us. > > It's fine to send a v2 of the entire patch series (which other > maintainers require), so I'll leave it up to you. > > If there's any other patch that needs changing, then a full v2 series > is required. But if this is the only change and you want to send just > this patch, then I'll take that as well. > Sorry for the delay - had an emergency appointment for the dog at the vet this morning.. Anyway, yeah, I'll reply with the patch - it's the only one that needs updating in this series. Thanks, Tom > -- Steve