Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1896604imm; Thu, 27 Sep 2018 04:23:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV61GL47IJG3cxJgJo0kS2ToccX6hsQgt+R/Kq5BxaCoPud47+p9hPuk06ZD26Qm8IHpEMeuW X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr10706393plf.126.1538047426481; Thu, 27 Sep 2018 04:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538047426; cv=none; d=google.com; s=arc-20160816; b=s9IvH/JTMI8kd64VkvYD3Tax7csoyBJ1xhEv8n5c1jfsNpmj4p1ZrD3VyZCCT/+N25 QDKuq62MydLqLhIPlgLRxtxAuBgYlkN+zRFe3o4DTaTqH+WR4IbbR/fz9q/Qw5D2iIfZ drzTLKXtIriqaFCeBmTwt6/E3vApSQVoJewQPL1X67QBBWUSR94uJfzogW0Pzz3YzXuB aQyTRxPbF56gUVvITEKQc2jf5H3OTuixe60AR8EoAM61ckroXPtoviKiDgcUqXQ5Kh+i gn7Eu2WlI0zbZPX+6QLHdvDLsx6QtnP26Ee2nCNIl3gvzFyEH0UDhZv1v98TE+w6Vtms JsnQ== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=0x6rmDnXjvR45w01mmjZbVG0nsK+doTxVThgCeS24Ic=; b=0EdBDNXcO+lcfsxSYbc3Gcwz8bAVM/HdFTAJaIGyMsRqjwPh3eBmnfe6tgWaMV3+aU VG67m63urpoLxTdVctIAvM0kU+lG4XyEyRTdkAoIqOHDcf0pqqYVsYcOMKSp9IMqm3q+ P/ByNlTlUUNKaORXR4UOJvEmj0QahxwtwX1qW1aKS8tUQ146BaFVUU1v2EtK/yr0YzJY 8pHTJclbXyNs67lhe1zbTc80cVV/KZYKlVllSj0TWt3EGExk1BFLnGLjbeiiebYzE6Cl BvlWZsB4i9p0EiTb6vN1XLRZrF5NDiPCYU61ZpeyFbly9Un1vu0NazE7VVRbGwSxyJyZ NvgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WoPAQb73; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y129-v6si1743108pgy.551.2018.09.27.04.23.31; Thu, 27 Sep 2018 04:23:46 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=WoPAQb73; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727232AbeI0RlK (ORCPT + 99 others); Thu, 27 Sep 2018 13:41:10 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:40852 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727090AbeI0RlJ (ORCPT ); Thu, 27 Sep 2018 13:41:09 -0400 Received: by mail-oi1-f195.google.com with SMTP id j68-v6so1791907oib.7 for ; Thu, 27 Sep 2018 04:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0x6rmDnXjvR45w01mmjZbVG0nsK+doTxVThgCeS24Ic=; b=WoPAQb73K9zoHfp9yPVBkNo233qVsqS5ChfzZsQgGlsvUgWdqbtkk0gD2YInHVNnrn Q6sB9Bnpxc8IjIwbI/BD/vL0aXqte2CZyR1jw1Fz5DtVu9sCxZsNV+5zrjZ6jB/YYKLY GsQMs5UNXgzTe/Xulf9ZeUNQznn4YMyPsodmA73mcnbRP86b4uccSfj/RqmYmfO4JFuk EobAxj9Ce4XOonqsGKm/NAFFnSp6eu/vJaMCmrz4T5C3Obdbzzjn3Eep1DQ+ghwiCVvV YzG/l6PqkBjga7vRDYaZ27xprBYJ3oqj6xHO/6RzQaZZBZS2/tFO9Z+8LWvtVXkGqK+O IZtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0x6rmDnXjvR45w01mmjZbVG0nsK+doTxVThgCeS24Ic=; b=ZgdOk4dXPULWhgU/mNRePuvbFd9h8SlM4+4RFux1HBiFNKspCpIciJmdYIfJ369NYR Jr8i4MZVf+Ijq81xFIiolvtoOl0YynO2tVtdiY+0KdQV284RWbrX/DHi+mn22sbXS4H8 27tpTGxYjOuguh59Qpr1o5z8jYQlQ3bfDZYXy24Y8+LThdAtixQ/lwcZuTNH26MRre5X +/Ptrc6+m3ogESB3XytWi04ih23PBN22eINi6bJ/sIatqhM5ldeqAG3uVeob5cculy3W iezuVlNPaD9HWmFJihnnb8QOI+TOfqVi++gu7V4TnwSrOI4IJ3IpkQRS5ttkqRsgovQI AdZw== X-Gm-Message-State: ABuFfogQBMkAzzll62azTGR5eBdIZt62tnKRcUpvncF5OCHU2uoAj4Zk ACJAD1BPaxhNLOxF0nH9Br3iocJaEYdkINpx5ys= X-Received: by 2002:aca:c00a:: with SMTP id q10-v6mr2742449oif.4.1538047401537; Thu, 27 Sep 2018 04:23:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:936e:0:0:0:0:0 with HTTP; Thu, 27 Sep 2018 04:23:21 -0700 (PDT) In-Reply-To: <5236278.7dVKUIXYaR@daneel.sf-tec.de> References: <20180927014138.GA8988@WindFlash> <5236278.7dVKUIXYaR@daneel.sf-tec.de> From: Leonardo Bras Date: Thu, 27 Sep 2018 08:23:21 -0300 Message-ID: Subject: Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command To: Rolf Eike Beer Cc: linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Rolf, On Thu, Sep 27, 2018 at 3:34 AM, Rolf Eike Beer wro= te: > Am Donnerstag, 27. September 2018, 03:41:38 CEST schrieb Leonardo Br=C3= =A1s: >> Creates new Makefile to avoid building driver if >> 'make drivers/oprofile/' is called directly. >> >> This driver is usually built from arch/$ARCH and seems to have >> no meaning building alone. >> >> Signed-off-by: Leonardo Br=C3=A1s >> --- >> drivers/oprofile/Makefile | 2 ++ >> 1 file changed, 2 insertions(+) >> create mode 100644 drivers/oprofile/Makefile >> >> diff --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile >> new file mode 100644 >> index 000000000000..acaed2ad6eee >> --- /dev/null >> +++ b/drivers/oprofile/Makefile >> @@ -0,0 +1,2 @@ >> +#Does nothing, since the source is called from arch/$ARCH/ tree. >> + > > Now there is a blank line where it does not need to be. > > Eike Oh, it's a Makefile, and as all text files, it have to end with newline. If I am wrong, please let me know. Thanks for your feedback, Leonardo Bras,