Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp182606imu; Fri, 25 Jan 2019 00:04:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN6uUhbj2q/XXw2kJKilvJr9tHJbV1ztOJ50IVltWbmjHfBcf9pcruQefn8ub7FtBIdf4E7F X-Received: by 2002:a62:18ce:: with SMTP id 197mr10262077pfy.88.1548403442552; Fri, 25 Jan 2019 00:04:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548403442; cv=none; d=google.com; s=arc-20160816; b=S0xo9p2yFVzSk10BFn41O588rQ1CI5U4wOpG6N/q3YBzWnyzKI67Njpe/sYDhUG9b2 6ax+BA4LgpfhoHBd/MWVyDEMyKgWyDvMvs5jGCGUGSeTPqkMsbmqcdceU7lcUMGp32/x MrDm2a5KxvApsqcm/81y+py7rT2m+Pk7+w8hXrBInYea2QM+zepcm7XP3dtCdBpPFTa+ mG1L8mn0kN/q34Q/1GxTIBrRE/u+FiNfFuGcd0+NiY2NLRqr7Jt0AGmss17iAek2NGxg /aL+EA5DbuQ+aumXtJ4gWy+dWgHoTWqDR4akV9lVOP+b7hNbqhEJLbV3PtU8DPJ9zYcZ lfUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RrrcXfru/4lvnsV8JBplsSMBax92l6y6thStoW0EF6Y=; b=ATBaot+BRgrTH5u1SgYszWPS9vcOaVtcc1Z6fUKDyP8bq2btHWyOJhHFS/w6mHlYg8 jGiewEi8noGgjSdCYg7Zf7sRzhsTdiUwjBHxEM+XyHkPFyUYXjO3OMYJboTMFgDu+g3U I6ktFF/e/GxsfU4Uh7WBE2R5IoDgbfMSVBMkHwPsFZD3IqzgWkP2cd9e6QhIEL79m2TE eG04yusSgyRTRKN5oBkmFWtG0F/0sIjb39eK2Moh5c1N/kR8Yj7Z6xIfXA1ofxuIjcQX H2O3PgwS3rGds0yyAT15wDBRN9myapH9/ewKliC2sZXXfehTYnPM+y33O04YEjHFR5ka nUNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=UyMi9bUD; 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 8si24470248plc.88.2019.01.25.00.03.47; Fri, 25 Jan 2019 00:04:02 -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=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=UyMi9bUD; 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 S1726681AbfAYICD (ORCPT + 99 others); Fri, 25 Jan 2019 03:02:03 -0500 Received: from mail-vs1-f65.google.com ([209.85.217.65]:36042 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfAYICD (ORCPT ); Fri, 25 Jan 2019 03:02:03 -0500 Received: by mail-vs1-f65.google.com with SMTP id v205so5179627vsc.3 for ; Fri, 25 Jan 2019 00:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owltronix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RrrcXfru/4lvnsV8JBplsSMBax92l6y6thStoW0EF6Y=; b=UyMi9bUDkBthVwyTn8NVyK9XwgQZ8kuZTkuMwZRstv41EqeZL0TClEyn8T58Dku28x 4ZIjHwNBccAx4EfvyJXavtxpUxN8WTkKFO21BF4jSl8dHwXmxWGedBcti496WJvEPghl YhR8LoQ0+26Nhgrdd/h/ySGQAqxBp82CyOfofYx3mYmD/VN24DJuepcmAbLj5UK2x1HM ZKjGVq5tPZ4ZggneiFRaY382EiBr/EvVV1AFrnMJ7UuEfpTF0lWSssrM1qlbFhqH7tiS kEO2raLn8KTm3+fqlY3wBFCItxJ3DcMTJUWZa3lu9F5OTXCtxz18zHWheYiUsq1Tb3ws Bf3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RrrcXfru/4lvnsV8JBplsSMBax92l6y6thStoW0EF6Y=; b=Hp3PaLB/n8f3p/Z0PkbRLNJ2Os4Z1WfNbJfZEo+N/k8KqWnOArrMXZQ6dgoFDQXLeZ tQ9Gp3wDxB6b8gEfGLN2iKV9xEI+mYm2FEg+AgB31QtnO52lfmGCJjj7mQibluU+6De+ 8LbLtiwgEkEjMPH2Ga0BPntvxfXgKvLhXckBD+rVDwX4ciixYR3yHanyEdph+2ZhvnDz 8gB6Tqqo4KB6z+c7J9JwnIL4Xzp/0lsaWIyo5+UBji/tnRh/For2+Kgrkwvyo9kykVyD +5vDkrlj+OAPxdaEDQNbSjpWQciaBca7XCgvp9d2EJ6LaDh1PyYYeN5+6eFx4Dzfp8qL 8+3A== X-Gm-Message-State: AJcUukfbJKVhqoLndzpMuqhM316yBtHx6qswcgiet0PhGMsY+o5BOa32 eM+Febjudkf2222WvRAKxESfAggZ3JWvpAyM84KDtQ== X-Received: by 2002:a67:2584:: with SMTP id l126mr4109258vsl.153.1548403322368; Fri, 25 Jan 2019 00:02:02 -0800 (PST) MIME-Version: 1.0 References: <1548401030-28860-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: <1548401030-28860-1-git-send-email-yamada.masahiro@socionext.com> From: Hans Holmberg Date: Fri, 25 Jan 2019 09:01:51 +0100 Message-ID: Subject: Re: [PATCH] lightnvm: pblk: fix TRACE_INCLUDE_PATH To: Masahiro Yamada Cc: Matias Bjorling , linux-block@vger.kernel.org, Jens Axboe , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >