Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp193997imu; Fri, 25 Jan 2019 00:18:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5x3RCDOm8rMcsydUYZRi7YIxRm9ArTH1ILtRn0s6jdRe+jH2MpbBWk5JwO1XBzZPWbOvlg X-Received: by 2002:a65:40c5:: with SMTP id u5mr2463268pgp.46.1548404326550; Fri, 25 Jan 2019 00:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548404326; cv=none; d=google.com; s=arc-20160816; b=0ZY2M9nIf9/8tq7x46DEhsWl0T1rkZipjmClOt8XHRTM0aVogWAM2u1QZ+9fTHN+yR dqhwqhfhjdiioEhhwG5mfu3pxR5JGP3RCdyp6X9+zrSEritAoC9WR+ZNGg+xRRVI7CAR 4t2psy6p9ZE83xEhJu/lCewWLMrjYL2Uq0iCqUJCX2mCqlqLo9mRBYCyvPvmpjszVbf5 EprCN95d1qNWr/kd50ue76H6k2BovnQBW6Dee/TsEfBziNUXdWkUPR2FYkHDATmqMkRc gAJcziXklQo/uj+Yb6js1+7YGuI0IvJ8AVhIToelPvf0sMr6FhNRS5aLuaQdYkEqG+TA C4Ew== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=9jiQno4UhpYBqTa//0Ls70fFfjYDxFXuvNUqs9ZqpgM=; b=Dhm/XluRpNhh8+4xpAwsQ/bThw3sEASqMWcd8Z2OXSWLYjgHDCIYn0C8dEYMpA9Bqm i01X75SajZ2EjDLlkTOB4KpbtvZN433o1d/5gkkUwiw2TMj7Nl9ZL/zVjt3g/9PkNhl9 GjJMpdCrGBSuEPF6QXwEJq5NDeZH65EmhNfiA8Ze+mFSXaYq2WZTQqXUkrtcgcIq4Q2G 6+jGMGwsqGwv+NSV720Pmu6Y05NZqPeCxd4H0RHxJ/e/e511AgS32cAtrhhSMfOQACcL rPnJLIGIHjq+EvdFhdTr9c58z12TG5cqLmu4zuCEiybRxma9nSTd21fpD7G5o1l3yr1d M5eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=MSSEySbN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si24525265pfk.210.2019.01.25.00.18.31; Fri, 25 Jan 2019 00:18:46 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=MSSEySbN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728505AbfAYIR7 (ORCPT + 99 others); Fri, 25 Jan 2019 03:17:59 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46354 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbfAYIR7 (ORCPT ); Fri, 25 Jan 2019 03:17:59 -0500 Received: by mail-lf1-f65.google.com with SMTP id f5so6267958lfc.13 for ; Fri, 25 Jan 2019 00:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9jiQno4UhpYBqTa//0Ls70fFfjYDxFXuvNUqs9ZqpgM=; b=MSSEySbN5UO6m87vMtYZyqZQFMhszrz4L99zNl5hfZLuSPCxNIcU6L+x3ZDiUsM5+R xXlApON/eAxmUmgJ+jKLuIss3hqZY0WsRFGlmUha9uJS1YtpK1S73Hc0ayYZj3SNuKNP Od1TrmnsZ3ah2QGqnnbmUWE2Df/pRZtiO4+ZW6cUQlO9zfvgj1zHjwtWouhfJUngGmn+ nB+x3RHfAtOHGOl5wLQ0lO6a5EZc94HJFILh/3mfPH48dZ85kKd8q1gakl9+p0Rn9gAq g+Hn8Zrx1rUNTN1l09o8vcmkY3RAGK4Tf3eMze890SZmUbckntS2oUMFqDjVcurD+kBn zabQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9jiQno4UhpYBqTa//0Ls70fFfjYDxFXuvNUqs9ZqpgM=; b=XrJFkoEWCCt+nAfWWdfYrNKCMRBkh2Zc/T0V0t+JqHrDlqzFyrPlLTGvItgRqlpa7i Dk2NkPSHdj3amGT89HmCCtl1p/Y4ILefF9E5NqFgvnGnjIY/xMXtNzahLHq07BDNqAi7 ZqG3UOmFlTxA6w4R4SXXSH+EY05Ko7L6S5Ski7ZEtF2AxMJEnbfHzej/3SWq6+7HCUgL KZd/Fa2SY2pG9WQvx8x2vclIlNbACObbgsWUrICDfHyIwP8ksV4HbBUgDHZAnBRddaZX ijgKdKS701ouusFyhFU8tB1gGMU8rWxa/aAzUgJW5Sl8weLJmG7MvTdd8GEGzuZZiZ1l IM3Q== X-Gm-Message-State: AJcUukd9ySTMPwQRx4ubI1fguziyqddhINhYCMcJi+Q3dw4UjACRxaWn 3W3iHsx5WQPzDjxWZBhtVQNgMPMyo7g= X-Received: by 2002:a19:1cb:: with SMTP id 194mr7925460lfb.61.1548404276489; Fri, 25 Jan 2019 00:17:56 -0800 (PST) Received: from [192.168.0.36] (2-111-91-225-cable.dk.customer.tdc.net. [2.111.91.225]) by smtp.googlemail.com with ESMTPSA id b25-v6sm1413706lji.94.2019.01.25.00.17.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 00:17:55 -0800 (PST) Subject: Re: [PATCH] lightnvm: pblk: fix TRACE_INCLUDE_PATH To: Hans Holmberg , Masahiro Yamada Cc: linux-block@vger.kernel.org, Jens Axboe , Linux Kernel Mailing List References: <1548401030-28860-1-git-send-email-yamada.masahiro@socionext.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <17453c37-72ee-11e1-979d-e60a034d94e3@lightnvm.io> Date: Fri, 25 Jan 2019 09:17:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/25/19 9:01 AM, Hans Holmberg wrote: > On Fri, Jan 25, 2019 at 8:35 AM Masahiro Yamada > wrote: >> >> As the comment block in include/trace/define_trace.h says, >> TRACE_INCLUDE_PATH should be a relative path to the define_trace.h >> >> ../../drivers/lightnvm is the correct relative path. >> >> ../../../drivers/lightnvm is working by coincidence because the top >> Makefile adds -I$(srctree)/arch/$(SRCARCH)/include as a header >> search path, but we should not rely on it. > > Nice catch, thanks! > > Reviewed-by: Hans Holmberg > >> >> Signed-off-by: Masahiro Yamada >> --- >> >> drivers/lightnvm/pblk-trace.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/lightnvm/pblk-trace.h b/drivers/lightnvm/pblk-trace.h >> index 679e5c45..9534503 100644 >> --- a/drivers/lightnvm/pblk-trace.h >> +++ b/drivers/lightnvm/pblk-trace.h >> @@ -139,7 +139,7 @@ TRACE_EVENT(pblk_state, >> /* This part must be outside protection */ >> >> #undef TRACE_INCLUDE_PATH >> -#define TRACE_INCLUDE_PATH ../../../drivers/lightnvm >> +#define TRACE_INCLUDE_PATH ../../drivers/lightnvm >> #undef TRACE_INCLUDE_FILE >> #define TRACE_INCLUDE_FILE pblk-trace >> #include >> -- >> 2.7.4 >> Thanks Masahiro-san. Applied for 5.1.