Received: by 10.192.165.156 with SMTP id m28csp1322776imm; Wed, 18 Apr 2018 07:56:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx48k9a4uY5qCFELRHMx/dmgfkj3oXa19FRPvuIDgwE8iX/I3T8JPXHxpVwzRCy6IgMMArZsK X-Received: by 2002:a17:902:9a04:: with SMTP id v4-v6mr2379103plp.21.1524063374501; Wed, 18 Apr 2018 07:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524063374; cv=none; d=google.com; s=arc-20160816; b=CV0RKOvPYnbv9vzv7dvyoqJiq7Og58M6VHcZLsBkL6GrnMBuB3kgkNAR4qBIUGvLER ueUg6SCAGTZn+brp5hG8ZpqYtKk8v/y2n+wf13/3hiLWU6/kNY0OFGY5USZ53j/9amzu Joq2Sj5T8De5yo3yKzwqNGZDX3COENBxOm0hIePj0Y/bIUp3tJiuAJi3DzB/3ohIQyyN jvn5cxA3wzF3r8gLbmsPh746QaRDq1U6OH8v0JL2uZHz/38LwwKK+km+iQoTErWJRrBv +FB2jo5aSpwUXPv75xZ5fzPoNdmS8VwGlLD3raflZkTQ5nk3QGK5Ord4z193zxbFmgf/ oZkw== 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:arc-authentication-results; bh=WLhXpfP8Fq+ekRmyxetFm0RuCJ9eyse+18sOVA+WaCo=; b=ehJoTE4r/RYYiYkN61wia8tz8ECNZt+PEJ15x3gvT58GiK1zvMukEdAfsr7eiKTH4R orEvWod5aeGlK/oUVxUkna/UieXL6Qbi11nQM5RYc1EkG8yMPAQhILitv7mYv/q2yk3I FcAHCsPDTO+bMtyo6OPO3KjsI1+OkFkeP+xIlBtshclotei+hxeNl58KYb387ymYTED0 Kw+QabCCUTh9UtbyN32lDVlJLuPq4F9b6YoR8Qi0VNY1K9CM4U2MCEzGq2ztpAe24w1i dH7ROoPcVng9uN9cFyplCNzMicV609oGc59DTM58+5E2y+Jf7sFhbZqCLn7BXsM64VLl 1heg== 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 b2si1153933pgv.467.2018.04.18.07.55.59; Wed, 18 Apr 2018 07:56:14 -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 S1753098AbeDROys (ORCPT + 99 others); Wed, 18 Apr 2018 10:54:48 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:37717 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752135AbeDROyq (ORCPT ); Wed, 18 Apr 2018 10:54:46 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id DCD6F20F0C; Wed, 18 Apr 2018 14:54:45 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo02-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5fVQfNBeyh_n; Wed, 18 Apr 2018 14:54:45 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 04E31215D8; Wed, 18 Apr 2018 14:54:36 +0000 (UTC) Subject: Re: [PATCH 2/2] selftests/filesystems: remove Makefile warning To: Anders Roxell , christian.brauner@ubuntu.com Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Michael Ellerman , Shuah Khan , Shuah Khan References: <20180418075256.300-1-anders.roxell@linaro.org> <20180418075256.300-2-anders.roxell@linaro.org> From: Shuah Khan Message-ID: <21de28f0-41c2-feac-1fec-63a2d76a2398@kernel.org> Date: Wed, 18 Apr 2018 08:54:36 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180418075256.300-2-anders.roxell@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/18/2018 01:52 AM, Anders Roxell wrote: > When overriding the 'clean' target make throws up warnings: > Makefile:9: warning: overriding recipe for target 'clean' > ../lib.mk:98: warning: ignoring old recipe for target 'clean' > > In current code we change from TEST_PROGS to TEST_GEN_PROGS and that > does that we can remove the target 'clean' and 'all'. > > Fixes: 10924bc64487 ("selftests: move dnotify_test from Documentation/filesystems") > Signed-off-by: Anders Roxell > --- > tools/testing/selftests/filesystems/Makefile | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/tools/testing/selftests/filesystems/Makefile b/tools/testing/selftests/filesystems/Makefile > index 427a401aae5c..a55ac3ac09ad 100644 > --- a/tools/testing/selftests/filesystems/Makefile > +++ b/tools/testing/selftests/filesystems/Makefile > @@ -1,9 +1,5 @@ > # SPDX-License-Identifier: GPL-2.0 > -TEST_PROGS := dnotify_test devpts_pts > +TEST_GEN_PROGS := dnotify_test devpts_pts > CFLAGS += -I../../../../usr/include/ > -all: $(TEST_PROGS) > > include ../lib.mk > - > -clean: > - rm -fr $(TEST_PROGS) > Hi Anders, Michael sent in a patch to fix the problem already. It is in linux-kselftest fixes branch for 4.17-rc2 Classifying dnotify_test to TEST_GEN_PROGS_EXTENDED as Michael is the correct way to handle this problem. It allows the test to be built and installed and it won't be run in the main kselftest run. thanks, -- Shuah