Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2019681imm; Thu, 27 Sep 2018 06:16:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV603zrcbsEmgJubXCsDkSo3lLg16h2JCjZHyaWMLKOYlp73SVv+2r6usGqU3nW/pXZxMwZN7 X-Received: by 2002:a17:902:6a8b:: with SMTP id n11-v6mr11035728plk.16.1538054210229; Thu, 27 Sep 2018 06:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538054210; cv=none; d=google.com; s=arc-20160816; b=K0N4yAmBpzLeRWoYp2jf0wNgHb6gmDNE8K7nwF2AU0Cxmkq3xhQveWoy91zyK8Ec4R IhJJsuoRiG4Y+kdte7qd2vjpkrDOZB2G8SGBzVKg6Y5tG6sdBsqt8g0Vw32shApDTu+I Mq7lxJzR2JAZYEOTaZWtMJSeQ3MdYB2C54fTQOn4F8E64CIbAjP0HJP9iR2cZ1yeGRZ0 mfJum9lIQGNWFVov7IDwOTCPw5PUCa5u7TlFqgNazv2IG0wv0ZAWvQDG67cSrXXIJJDU 06JPBMTWDGRUrHDypoGNwbqraCm00p6JPcqVeKZwitv85jo6vLcdELZEzbszpLdKV45z Tynw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version; bh=ncRo98jFEQTdeYUKT4qlHXqrJNyhnpfqJJ8Sb1osSfE=; b=ZRZphyk+seXrPsYv9RNLTRNUi8P6THZsttnv3wPyehZbNI2LK49BFwfnTlzcI0xxUw uhJJu2Xf0rePKdSlgJ4yn7F30KfVYoUzR6KpR+iSrWnH5/fsATNikzN/f2Djy7crfZuJ nNK0P0auN7dei+NtmMCHIMDYKufadXQjj508p5WHb3FLC6HXZHlIlzc1weRYpfhvZwlJ xBxJEtyvxjbiFvFiRnt6LQjvUTxvQoHSlZ8hGR+fLYNejXYl5eHfA+ZaRVFJEPKx/2fX uZSdHLnBHgwUkQ5Rbw4yXTNrHx1PeY8QBcJodyqawBQTz08wrzG90mCPCYeRoFiYG7yZ JLZw== ARC-Authentication-Results: i=1; mx.google.com; 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 q23-v6si1984244pfh.353.2018.09.27.06.16.32; Thu, 27 Sep 2018 06:16:50 -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; 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 S1727677AbeI0TcS (ORCPT + 99 others); Thu, 27 Sep 2018 15:32:18 -0400 Received: from mail.sf-mail.de ([78.47.74.12]:50627 "EHLO mail.sf-mail.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727199AbeI0TcS (ORCPT ); Thu, 27 Sep 2018 15:32:18 -0400 Received: (qmail 5482 invoked from network); 27 Sep 2018 13:14:03 -0000 Received: from mail.sf-mail.de ([::ffff:78.47.74.12]:36456 HELO webmail.sf-mail.de) (auth=eike@sf-mail.de) by mail.sf-mail.de (Qsmtpd 0.34dev) with (DHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA for ; Thu, 27 Sep 2018 15:14:03 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 27 Sep 2018 15:14:03 +0200 From: Rolf Eike Beer To: Leonardo Bras Cc: linux-kernel Subject: Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command In-Reply-To: References: <20180927014138.GA8988@WindFlash> <5236278.7dVKUIXYaR@daneel.sf-tec.de> Message-ID: <136913b41707c8556fb5d41969d2080e@sf-tec.de> X-Sender: eike-kernel@sf-tec.de User-Agent: Roundcube Webmail/1.3.6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2018-09-27 13:23, schrieb Leonardo Bras: > Hello Rolf, > > On Thu, Sep 27, 2018 at 3:34 AM, Rolf Eike Beer > wrote: >> Am Donnerstag, 27. September 2018, 03:41:38 CEST schrieb Leonardo >> Brás: >>> 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ás >>> --- >>> 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. No, that's fine. But it means it has to have one LF after "tree.". It had none, now it hat 2. Eike