Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp742890pxb; Tue, 8 Feb 2022 01:11:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUzhM4G4kBwovOOoQENz7Mb32UV7KvZTtsgK9gZfFb/FHDVNW47+KE/AJFbHaGoMZGFwAX X-Received: by 2002:a63:5550:: with SMTP id f16mr2852365pgm.24.1644311461795; Tue, 08 Feb 2022 01:11:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644311461; cv=none; d=google.com; s=arc-20160816; b=EupNE5sS1yXEOhukPgKnl+ohXOaxzzSYXuhMP9hGZ1qqpSmIII+M1dnKVttrTT38l8 Uv4IvPbiH/Udd1JPeXBxXr3xxn6GQOk+Kvpv5DCuNdklQowBgMZ3weMkGr4n+B+O82Q3 MnKQJq2UcT3TNzWPcoyz5bieAS7nFJcJqRuvNNiszNwdIFZmutlNx2WVkc4Z5LZ3WKbW GwMOvJxZDVDRkAW91mrBHqjc3cGj3LDTBwkkQdZ2h6+JFU0I4QXgHm079zwpwTrdIyCS m2ZmE5CX3X92PJTFOssxftd/stnUUYZflk/s1QZXJsr47N5pHplsvPk7gHr7B3cmnlg5 styQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=xRXlDhviuTEfdiTDsXUwY6dPo1OySinAm73Hd1uXh0o=; b=zGDfGbT7YiSRUzAtM+eoLBmFDhx7pTecDmf8HFAhruOiwF7r8VDU4HVTWabmfq9atK OpxrStO0/UJoBCQWopgNGmvWSakoy5GQVWbXeBBceJxZub2RoSbvuTTj5HdLZegdIONc thHmCmLjLzWw/3MJOKc6hHY9BdM0fAtDEvhxKHZXgj7r/k3C7v/BjLYUkfj6owX/6Ur2 tZq8jKVzebMklkaV13tjTTdRveyCGXEjkrwA5PEI2cQ9QowkH2zmgpd6Qbz+1e6J6LoY FKgHFqKBayY12KJxQWcNczKemEn7xwRxDhaMwGxfkzUzRJCmnRZySfhG/sqLXGXpFKoO Ijjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Z2iPrLZx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k20si11403772pfk.71.2022.02.08.01.10.48; Tue, 08 Feb 2022 01:11:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Z2iPrLZx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbiBGSmL (ORCPT + 99 others); Mon, 7 Feb 2022 13:42:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235270AbiBGSkf (ORCPT ); Mon, 7 Feb 2022 13:40:35 -0500 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D073FC0401D9 for ; Mon, 7 Feb 2022 10:40:33 -0800 (PST) Received: by mail-io1-xd35.google.com with SMTP id 9so18096208iou.2 for ; Mon, 07 Feb 2022 10:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xRXlDhviuTEfdiTDsXUwY6dPo1OySinAm73Hd1uXh0o=; b=Z2iPrLZxMkV6EX9FGWFjy12J8QyHDDnMWexBVUyyLGBjvifSntAvR9UFEWloZvVbx4 XBpuX/Q7vnhyXtARRTf0xh6R9qg7yQN4Hq5xyGkI9X+siyhInl6CpNXPnTXFJwzGWa+C pgyJuMhbelZdR0uBKZeGA/5TgwRpYVYzSwLRg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xRXlDhviuTEfdiTDsXUwY6dPo1OySinAm73Hd1uXh0o=; b=gXMqGQEGDKbr1CO6XK9ZdWxgjrRQKYzW3KYYDxu/KbBRsmksVFYO2WzlRg3c7pMo00 fYtM7tf+HAp7VbXE643wIT6rZFQZBVNfSTxAjyi63MBat19vZ8XBZmeusV29uD709E92 V0DUyrIWSIt4UhEZVQ8H+AoYqtpWlkgNj1jfBUC31uoaCJFPqHSxdGF/b25X6mx4lMVU Axv6q+WlXwVD99jQKFFRqRD7cfIB2AA0O2/ldll0/P36dxxjMgK+2lkBrCnW2vNI7Gm+ kjcFbsoJNOlRgkk/UPPNLJKD9g8+RdtY69c61rwR2+vBDyCjMj6jYp8nS8EMKpdP8i0h 0dQg== X-Gm-Message-State: AOAM530mPg/hZOAxDtUa5AEjq8njtrmEpXRzk6pwLhM1dSGWhHuIcutN wa0RQk4Ilq5RrbdHl3HGyohjsw== X-Received: by 2002:a02:8188:: with SMTP id n8mr513343jag.126.1644259232913; Mon, 07 Feb 2022 10:40:32 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id o11sm5919815ilm.20.2022.02.07.10.40.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Feb 2022 10:40:32 -0800 (PST) Subject: Re: [PATCH] selftests: futex: set DEFAULT_INSTALL_HDR_PATH To: Muhammad Usama Anjum , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?UTF-8?Q?Andr=c3=a9_Almeida?= , Shuah Khan Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan References: <20220119103332.2887370-1-usama.anjum@collabora.com> From: Shuah Khan Message-ID: <3a4878b9-f175-f16f-a901-efc33b2bf89f@linuxfoundation.org> Date: Mon, 7 Feb 2022 11:40:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220119103332.2887370-1-usama.anjum@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/19/22 3:33 AM, Muhammad Usama Anjum wrote: > If only futex selftest is compiled, uapi header files are copied to the > selftests/futex/functional directory. This copy isn't needed. Set the > DEFAULT_INSTALL_HDR_PATH variable to 1 to use the default header install > path only. This removes extra copy of header file. > > Signed-off-by: Muhammad Usama Anjum > --- > tools/testing/selftests/futex/functional/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile > index 5cc38de9d8ea..9a8c3700d773 100644 > --- a/tools/testing/selftests/futex/functional/Makefile > +++ b/tools/testing/selftests/futex/functional/Makefile > @@ -24,6 +24,7 @@ TEST_PROGS := run.sh > > top_srcdir = ../../../../.. > KSFT_KHDR_INSTALL := 1 > +DEFAULT_INSTALL_HDR_PATH := 1 > include ../../lib.mk > > $(TEST_GEN_FILES): $(HEADERS) > This will be a good cleanup. However, please make there is no dependencies in the futex test sub-dirs on being able to find the headers under futex I vaguely remember leaving this in place for reason. thanks, -- Shuah