From patchwork Fri Jan 25 07:23:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156556 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp34914jaa; Thu, 24 Jan 2019 23:24:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN4UZPc0xo6VrXUiz/7Fh/13QqQTJDlny/EKQnACRxmy+AU80/j+D4N5L3xadr11R5mCRjfc X-Received: by 2002:a62:9419:: with SMTP id m25mr10253151pfe.147.1548401064758; Thu, 24 Jan 2019 23:24:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548401064; cv=none; d=google.com; s=arc-20160816; b=IQlwNR2QHuGXAXBWv8q3SOhI7fxpRj7dt6OJ7tBEkXq5Jl2pWddoBNu2tVLRyMtKPX cQhU0ZHq1OWglsvQR5w5yg78oMpj1LiqE/Faaq6lsFz7hQ1sT/xnbuviDoZZp45lDQGJ /3UM7IQ17akG4b7/z6RTW7Yadyl0wMouthcRaN6pMPagw0it0g5VBZiD1tg56im6OR4e VPVQv1KqeXRAAHL3vEyCJtpzTuXWhjUWtElJ15dTuh6wB+03cwctZV43gVov52vcXcHW YxQ34LT43FTASJBnz+HXXZSVuM1GaIXPQ1s/S8xKY+oL3Elr2jyhAl79wNUTDK/XAEcR 4+mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=Z/++O0uH9aXyE0dKkwp/Ew71RM7jlqo9SoheGBRqJgM=; b=FdJUN8LhHmmte2pOkQ0uzHp1rIWv4ygblD94gxz+fIlvNEoK1LlTeQFmMW9ZxDRjat UKuM0Wk9SaT6HRWG700LMpTQZ2QfQld7gbtaXPCXn+9T+xScSfJxu8CGhy6MLH+d92vq tn0sknSWANEAZFD92GZaLY46ShYe3VP5gz+5qnnLO9Mv0faPxDxJkp5fKz9DH5zhc9+M BYKpsRiRUI9pVQola59bdxOSxuhUJdfwsdJJBMGW/iJ/2sJzOkC0/gL0fnulH7512+d8 C6WAfkiChG7dpfC8Cm4CQgnNpJq/t/Uxy3sRidHg7pQ4T5VHbiV5kadrqRZYs0v6suBd 642w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EEf22r2W; 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 184si24331959pgj.329.2019.01.24.23.24.24; Thu, 24 Jan 2019 23:24:24 -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=@nifty.com header.s=dec2015msa header.b=EEf22r2W; 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 S1728249AbfAYHYW (ORCPT + 31 others); Fri, 25 Jan 2019 02:24:22 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:34627 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbfAYHYW (ORCPT ); Fri, 25 Jan 2019 02:24:22 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id x0P7NrIe018208; Fri, 25 Jan 2019 16:23:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x0P7NrIe018208 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548401034; bh=Z/++O0uH9aXyE0dKkwp/Ew71RM7jlqo9SoheGBRqJgM=; h=From:To:Cc:Subject:Date:From; b=EEf22r2WEx9eQBmsyiukWO8T3/rlkl263MeTIJ6wIrdKdOe6IBoRIb8Sqm0CJ6Fjr cpjNmqNInxLtyqQw4TsHQEeKQOOAhICRyFa2ZyVvI/zgAaZ+7PqM1fS25EOVHwItuA Y1pWW70q3o4QgKHloK6G+QHWwhwhyB3bz3ECVPHAXV2PnwNi+TrOVy5+w1QzKWN/2W hGPtWerpibP+iMFWYrs2ea0W0tOQx+Tvf1tNl1H0+wosN8lO7vW/wSNqWT4YOQEHx5 e8jBjlsb9ztqzwtWHT7ACCeaH57R+st7o5Vn6FKAshZkrW304+9hd8vdPTxMFyQuK5 AxYPozNNXEhWw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Matias Bjorling , linux-block@vger.kernel.org, Jens Axboe Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] lightnvm: pblk: fix TRACE_INCLUDE_PATH Date: Fri, 25 Jan 2019 16:23:50 +0900 Message-Id: <1548401030-28860-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Masahiro Yamada --- drivers/lightnvm/pblk-trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 Reviewed-by: Hans Holmberg 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